Home
Tester
Reference
About
Pattern
(.)(?<=^(?:(?:(?!\1).)*\1){2,}(?:(?!\1).)*\1)
Input
11
1
aabbccx
c
c
y
b
b
z
a
a
1
111aabbccxccybbzaa1
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
8
matches found in about
1
millisecond.
Show Permalink
Permalink
Index
Position
Matched String
Replacement
$1
0
2
1
-
1
1
10
c
-
c
2
11
c
-
c
3
13
b
-
b
4
14
b
-
b
5
16
a
-
a
6
17
a
-
a
7
18
1
-
1
11
-
aabbccx
-
-
y
-
-
z
-
-
-
11
1
aabbccx
c
empty string
c
y
b
empty string
b
z
a
empty string
a
empty string
1
empty string