Home
Tester
Reference
About
Pattern
(\w+)\1
Input
adad
1111
1212
12345 abcdefg
adad 1111 1212 12345 abcdefg
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...
Click the
context
tab to see replacements.
Regex Info
Table
Context
Split List
3
matches found in about
1
millisecond.
Show Permalink
Permalink
Index
Position
Matched String
$1
0
0
adad
ad
1
8
1111
11
2
16
1212
12
adad
1111
1212
12345 abcdefg
empty string
ad
whitespace
11
whitespace
12
12345
abcdefg