Learn Before
Concept

Disjunction (OR) operator |

This operator represents the "or" condition logic. Text strings at both sides of the operator represent conditions to be matched. The operator "|" is also called the pipe symbol.

E.g. /cat|dog/ -> matches either the string cat or the string dog.

0

1

Updated 2021-09-12

Tags

Regular Expression

Data Science