An Alternation is a character that modifies a regular expression to allow either/or matching.
Regular Expression | Description |
---|---|
| | Any one of the terms separated by the | (vertical bar) character. For example, cat|dog|tiger. The left most successful match wins. |