REGULAR EXPRESSION SYNTAX | |
^ | Start of string |
$ | End of string |
. | Any single character |
(a|b) | a or b |
(...) | Group section |
[abc] | Item in range (a or b or c) |
[^abc] | Not in range (not a or b or c) |
\s | White space |
a? | Zero or one of a |
a* | Zero or more of a |
a+ | One or more of a |
a{3} | Exactly 3 of a |
a{3,} | 3 or more of a |
a{3,6} | Between 3 and 6 of a |
\ | Escape character |
[:punct:] | Any punctuation symbol |
[:space:] | Any space character |
[:blank:] | Space or tab |