Hello everybody
what is the different between regular expressions & wildcard when configured URL filtering ?
thanks
thanks
Nominating a forum post submits a request to create a new Knowledge Article based on the forum post topic. Please ensure your nomination includes a solution within the reply.
A wildcard will match any characters in the place of the wildcard character. For instance,
*.google.com would match mail.google.com, idontlikeyahoo.google.com, etc.
It would not match google.com, since the leading '.' needs to be present.
Going further, *.google.* would match the above, and using any top-level domain.
Regular expressions allow you to specify the exact range of acceptable characters or strings that need to be present for a match to occur.
A good example (non-URL, but it proves the concept) is credit card or SSN numbers. Stack Exchange is a great place to look for general syntax rules, as well as examples for the major cards and the SSN numbering regime. Take SSNs:
^(?!(000|666|9))\d{3}-(?!00)\d{2}-(?!0000)\d{4}$
This is taken from http://stackoverflow.com/questions/4087468/ssn-regex-for-123-45-6789-or-xxx-xx-xxxx, and was valid up to 2010.
Regards, Chris McMullan Fortinet Ottawa
Select Forum Responses to become Knowledge Articles!
Select the “Nominate to Knowledge Base” button to recommend a forum post to become a knowledge article.
User | Count |
---|---|
1712 | |
1093 | |
752 | |
447 | |
231 |
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.