[prev] [index] [next]

Regular Expression Examples

Regexp Matches
abc the string of letters "abc"
E.g. abc
a.c strings of letters containing 'a' followed by 'c' with any single character in between
E.g. abc, aac, acc, aXc, a2c, ...
ab*c strings of letters containing 'a' followed by 'c' with any number of 'b' letters in between
E.g. ac, abc, abbc, abbbc, ...
a|the either the string "a" or the string "the"
E.g. a, an, bad, the, then, other, ...
[a-z] any single lower-case letter
E.g. a, b, c, ... z