Home
Tester
Reference
About
Pattern
^(?:(1)|(2)|(3)|(4)|(5)){5}\r?$(?<-1>)(?<-2>)(?<-3>)(?<-4>)(?<-5>)
Input
12345
52413
12543
11234 12234 12334 12347
12345 52413 12543 11234 12234 12334 12347
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
15
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
$1
$2
$3
$4
$5
0
0
12345
empty string
empty string
empty string
empty string
empty string
1
7
52413
empty string
empty string
empty string
empty string
empty string
2
14
12543
empty string
empty string
empty string
empty string
empty string
12345
52413
12543
11234 12234 12334 12347
empty string
whitespace
whitespace
11234
12234
12334
12347