Home
Tester
Reference
About
Pattern
%x\.(.*?)%
Input
aaaaa%nomatch%bbb
%x.FOO%
ccc
%x.BAR%
ddddd%%
aaaaa%nomatch%bbb%x.FOO%ccc%x.BAR%ddddd%%
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
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
2
matches found in about
4
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
Replacement
$1
0
17
%x.FOO%
FOO
FOO
1
27
%x.BAR%
BAR
BAR
aaaaa%nomatch%bbb
FOO
ccc
BAR
ddddd%%
aaaaa%nomatch%bbb
FOO
ccc
BAR
ddddd%%