Fortinet 681 FortiWeb 5.0 Patch 6 Administration Guide
See also
•What are back-references?
•Regular expression syntax
Any IPv4 address \b(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[
01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-
5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\b
Specific HTML tag
(well-formed HTML only, e.g. <br>
or <img src="1.gif" />; does
not match the element’s contents
between a tag pair; does not
match the closing tag)
(?i)<\s*TAG\s*[^>]*>
Specific HTML tag pair and
contained text/tags, if any
(well-formed HTML only;
expression does not validate by
DTD/Schema)
(?i)<\s*(TAG)\s*[^>]*>[^<]*</\1>
Any HTML tag pair and
contained text/tags, if any
(well-formed HTML only;
expression does not validate by
DTD/Schema)
(?i)<\s*([A-Z][A-Z0-9]*)\b[^>]*>(.*?)</\1>
Any HTML comment (?:<|<)!--[\s\S]*?--[ \t\n\r]*(?:>|>)
Any HTML entity
(well-formed entities only;
expression does not validate by
DTD/Schema)
&(?i)(#((x([\dA-F]){1,5})|(104857[0-5]|10485[0-6]\d|1048[0-4]
\d\d|104[0-7]\d{3}|10[0-3]\d{4}|0?\d{1,6}))|([A-Za-z\d.]{2,31}
));
JavaScript UI events
(onClick(), onMouseOver(),
etc.)
(?i):on(blur|c(hange|lick)|dblclick|focus|keypress|(key|mous
e)(down|up)|(un)?load|mouse(move|o(ut|ver))|reset|s(elect|u
bmit))
All parameters that follow a
question mark or hash mark in
the URL
(e.g. #pageView or
?param1=valueA¶m2=val
ueB...; back-reference to this
match does not include the
question/hash mark itself)
[#\?](.*)
To match... You can use...