Regex tester
Pattern
Input
matches the first three letters of any word that ends in "day", like sunday or saturday, otherwise matches the whole word
Options
Replacement
Click the context tab to see replacements.
21 matches found in about 2 milliseconds.
IndexPositionMatched String
00matches
18the
212first
318three
424letters
532of
635any
739word
844that
949ends
1054in
1158day
1264like
1369sun
1476or
1579sat
1689otherwise
1799matches
18107the
19111whole
20117word
matches the first three letters of any word that ends in "day", like sunday or saturday, otherwise matches the whole word
  1. empty string
  2. whitespace
  3. whitespace
  4. whitespace
  5. whitespace
  6. whitespace
  7. whitespace
  8. whitespace
  9. whitespace
  10. whitespace
  11. whitespace
  12. "
  13. ",
  14. whitespace
  15. day
  16. whitespace
  17. urday,
  18. whitespace
  19. whitespace
  20. whitespace
  21. whitespace
  22. empty string