Regex tester
Pattern
Input
work 1 work 2 work 3 work 4 work 5
Options
Replacement
Click the context tab to see replacements.
5 matches found in about 5 milliseconds.
IndexPositionMatched String${num}
00work 11
17work 22
214work 33
321work 44
428work 55
work 1 work 2 work 3 work 4 work 5
  1. empty string
  2. 1
  3. whitespace
  4. 2
  5. whitespace
  6. 3
  7. whitespace
  8. 4
  9. whitespace
  10. 5
  11. empty string