Home
Tester
Reference
About
Pattern
(Foo) \d+;
Input
Foo 12;
Foo 5534;
Foo 1;
Foo 12; Foo 5534; Foo 1;
Options
Ignore Case
Ignore Whitespace
Explicit Capture
Culture Invariant
Singleline
Multiline
Right To Left
ECMA Script
Start from position:
Max matches to find:
Replacement
Replace matches with...
$1 NUM;
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
3
matches found in about
0
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
Replacement
$1
0
0
Foo 12;
Foo NUM;
Foo
1
9
Foo 5534;
Foo NUM;
Foo
2
20
Foo 1;
Foo NUM;
Foo
Foo NUM;
Foo NUM;
Foo NUM;
empty string
Foo
whitespace
Foo
whitespace
Foo
empty string