Home
Tester
Reference
About
Pattern
(?=(\d{4}))
Input
2
3
4
5
6
7
8901
2345678901
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
1
millisecond.
Show Permalink
Permalink
Index
Position
Matched String
$1
0
0
empty string
2345
1
1
empty string
3456
2
2
empty string
4567
3
3
empty string
5678
4
4
empty string
6789
5
5
empty string
7890
6
6
empty string
8901
2
3
4
5
6
7
8901
empty string
2345
2
3456
3
4567
4
5678
5
6789
6
7890
7
8901
8901