Home
Tester
Reference
About
Pattern
a(b(c(d(e(?<f>f)?)?)?)?)?(?(f)|\.?)
Input
abcdef
.
abcdef
abcde.
abcd.
abc.
ab.
a.
abcdef. abcdef abcde. abcd. abc. ab. a.
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
2
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
$1
$2
$3
$4
${f}
0
0
abcdef
bcdef
cdef
def
ef
f
1
9
abcdef
bcdef
cdef
def
ef
f
2
17
abcde.
bcde
cde
de
e
empty string
3
25
abcd.
bcd
cd
d
empty string
empty string
4
32
abc.
bc
c
empty string
empty string
empty string
5
38
ab.
b
empty string
empty string
empty string
empty string
6
43
a.
empty string
empty string
empty string
empty string
empty string
abcdef
.
abcdef
abcde.
abcd.
abc.
ab.
a.
empty string
bcdef
cdef
def
ef
f
.
bcdef
cdef
def
ef
f
whitespace
bcde
cde
de
e
whitespace
bcd
cd
d
whitespace
bc
c
whitespace
b
whitespace
empty string