Home
Tester
Reference
About
Pattern
(?=(?<value>(?:(?<A>A)|(?<B>B)|(?<C>C)){4}(?<-A>)(?<-B>)(?<-C>){2}))
Input
A
B
C
CAB
CAB
CABCA
ABCC
ABCCABCABCABCAABCC
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
7
matches found in about
0
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
${value}
${A}
${B}
${C}
0
0
empty string
ABCC
empty string
empty string
empty string
1
1
empty string
BCCA
empty string
empty string
empty string
2
2
empty string
CCAB
empty string
empty string
empty string
3
3
empty string
CABC
empty string
empty string
empty string
4
6
empty string
CABC
empty string
empty string
empty string
5
9
empty string
CABC
empty string
empty string
empty string
6
14
empty string
ABCC
empty string
empty string
empty string
A
B
C
CAB
CAB
CABCA
ABCC
empty string
ABCC
A
BCCA
B
CCAB
C
CABC
CAB
CABC
CAB
CABC
CABCA
ABCC
ABCC