Tutorial
Tools & Languages
Examples
Reference
Regular Expressions
reg
(
ular expression
s
?
|
ex
(
p
|
es
)
?
)
Options: case insensitive
Match the characters "reg" literally
Match the regular expression below and capture its match into backreference number 1
Match either the regular expression below (attempting the next alternative only if this one fails)
Match the characters "ular expression" literally
Match the character "s" literally
Between zero and one times, as many times as possible, giving back as needed (greedy)
Or match regular expression number 2 below (the entire group fails if this one fails to match)
Match the characters "ex" literally
Match the regular expression below and capture its match into backreference number 2
Between zero and one times, as many times as possible, giving back as needed (greedy)
Match either the regular expression below (attempting the next alternative only if this one fails)
Match the character "p" literally
Or match regular expression number 2 below (the entire group fails if this one fails to match)
Match the characters "es" literally
Welcome
Tutorial
Tools and Languages
Examples
Reference
About This Site
Download and Print