Tutorial
Tools & Languages
Examples
Reference
Alternation Example
cat
|
dog
|
mouse
|
fish
Match either the regular expression below (attempting the next alternative only if this one fails)
Match the characters "cat" literally
Or match regular expression number 2 below (attempting the next alternative only if this one fails)
Match the characters "dog" literally
Or match regular expression number 3 below (attempting the next alternative only if this one fails)
Match the characters "mouse" literally
Or match regular expression number 4 below (the entire match attempt fails if this one fails to match)
Match the characters "fish" literally
Welcome
Tutorial
Tools and Languages
Examples
Reference
About This Site
Download and Print