Basics1 / 52match
Find a literal word
Match every line that contains the lowercase text cat anywhere. A match anywhere on the line counts.
//
JavaScript regex flavor. Flags: g, i, m, s, u. Matches highlight as you type.
- 1
the·cat·satshould match
- 2
Cat·napshould not match
- 3
concatenateshould match
- 4
c·a·tshould not match
- 5
catshould match
- 6
dogshould not match
- 7
bobcatshould match
- 8
a·tacshould not match