Dear All,
Anyone can clear me about what is reg.expression in fortigate and how's it working exactly. In which situation we can use this config. And how to configure it
Thanks
Solved! Go to Solution.
A 'reg. expression' in the context of filters is a Regular Expression, i.e. a means of expressing a search pattern. You can find numerous articles on REs on the web (Wikipedia,...) as well as sites where you can test your RE online, or tutorials.
Tools that understand REs are mainly derived from Unix: vi, sed, (e)grep. In Windows, findstr understands REs. Many (script) languages offer RE support, like python, perl, awk.
In contrast to REs so called 'wildcard' patterns only use very few placeholders like '*' and '?'. Here, the meaning of these placeholders are different from their meaning in REs. Wildcard patterns are used in the DOS/Windows console.
Hope this gets you on the right track.
A 'reg. expression' in the context of filters is a Regular Expression, i.e. a means of expressing a search pattern. You can find numerous articles on REs on the web (Wikipedia,...) as well as sites where you can test your RE online, or tutorials.
Tools that understand REs are mainly derived from Unix: vi, sed, (e)grep. In Windows, findstr understands REs. Many (script) languages offer RE support, like python, perl, awk.
In contrast to REs so called 'wildcard' patterns only use very few placeholders like '*' and '?'. Here, the meaning of these placeholders are different from their meaning in REs. Wildcard patterns are used in the DOS/Windows console.
Hope this gets you on the right track.
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 |
---|---|
1743 | |
1114 | |
760 | |
447 | |
241 |
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 2025 Fortinet, Inc. All Rights Reserved.