Home
Tester
Reference
About
Pattern
(.)\1
Input
aa
b
cc
defg
hh
ij
aabccdefghhij
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
0
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
$1
0
0
aa
a
1
3
cc
c
2
9
hh
h
aa
b
cc
defg
hh
ij
empty string
a
b
c
defg
h
ij