Regex tester
Pattern
Input
foo text 111, 222 and not bar something 333 but foo 444 and better 555

foo 123 456 bar  123
Options
Replacement
Click the context tab to see replacements.
6 matches found in about 5 milliseconds.
IndexPositionMatched String${A}
09111111
114222222
252444444
367555555
478123123
582456456
foo text 111, 222 and not bar something 333 but foo 444 and better 555
​
​foo 123 456 bar  123
  1. foo text
  2. 111
  3. ,
  4. 222
  5. and not bar something 333 but foo
  6. 444
  7. and better
  8. 555


  9. foo
  10. 123
  11. whitespace
  12. 456
  13. bar 123