Regex tester
Pattern
Input
Foo 12;
Foo 5534;
Foo 1;
Options
Replacement
Click the context tab to see replacements.
3 matches found in about 0 milliseconds.
IndexPositionMatched StringReplacement$1
00Foo 12;Foo NUM;Foo
19Foo 5534;Foo NUM;Foo
220Foo 1;Foo NUM;Foo
Foo NUM;
​Foo NUM;
​Foo NUM;
  1. empty string
  2. Foo
  3. whitespace
  4. Foo
  5. whitespace
  6. Foo
  7. empty string