Alternation

Prev Next

To search using alternation, use the pipe (|) character to separate strings (a|b).

Pattern Description
(hi|hello) Either "hi" or "hello" must match.
(su|soo)per Either "super" or "sooper" must match.