Regexdrill
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. 1
    the·cat·satshould match
  2. 2
    Cat·napshould not match
  3. 3
    concatenateshould match
  4. 4
    c·a·tshould not match
  5. 5
    catshould match
  6. 6
    dogshould not match
  7. 7
    bobcatshould match
  8. 8
    a·tacshould not match