Home
Tester
Reference
About
Pattern
\{(\w+)\?\}
Input
{capital?}
has a bridge for
{people?}
{capital?} has a bridge for {people?}
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_DEN
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
2
matches found in about
3
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
Replacement
$1
0
0
{capital?}
capital_DEN
capital
1
28
{people?}
people_DEN
people
capital_DEN
has a bridge for
people_DEN
empty string
capital
has a bridge for
people
empty string