Regex tester
Pattern
Input
blah blah foo This is a test blah.  the test does not work. bar
Options
Replacement
Click the context tab to see replacements.
1 match found in about 9 milliseconds.
IndexPositionMatched String$1$2$3$4$5
010foo This is a test blah. the test does not work. barfooempty stringempty string This is a test blah. the test does not work. bar
blah blah foo This is a test blah.  the test does not work. bar
  1. blah blah
  2. foo
  3. empty string
  4. This is a test blah. the test does not work.
  5. bar
  6. empty string