RegEx Pattern for FQDN Address Object
93311
Created On 09/25/18 20:39 PM - Last Modified 05/20/26 10:02 AM
Symptom
When you try to create an FQDN Address object, you can't use wildcards.
Environment
NGFW
Cause
- Wildcards or regex patterns cannot be used to form a valid FQDN
- The validation of FQDN object is performed using the RegEx pattern ^([a-zA-Z0-9._-])+$ by the system to determine if a given hostname uses valid characters.
- Where ^ specifies start of a string, and $ specifies the end of a string, and + indicates one or more strings in the Round Brackets.
- [a-zA-Z0-9._-] indicates any character specified in the Square Brackets, which does not include any other special characters other than '.' , '_' , '-' .