Boolean regular expressions allow you to combine regular expressions using the Boolean and, or, and not operators.
Menu Item |
Operator |
Definition |
---|---|---|
Boolean And |
and |
Specifies that the preceding and following regular expressions must both match. |
Boolean Or |
or |
Specifies that one of the preceding and following regular expressions must match. |
Boolean Not |
not |
Specifies that the regular expression following the Not must not match. |
Regular and Boolean regular expression operators are available from some drop‑down menus, or you can enter them directly in the appropriate field. The following table shows examples of Boolean regular expressions:
Example |
Matches |
Does Not Match |
---|---|---|
la and ia |
La Vernia and Lelia Lake |
Lake Jackson |
ville$ or town$ |
Brownsville and Baytown |
Lubbock |
ille$ and not ^[n-z] |
Brownsville and Kerrville |
Pflugerville |