Home
Tester
Reference
About
Pattern
\A(?:(\d+(?:-\d+)?)(?:,|\z))+\z
Input
1,6-10,10000,2,10-11
1,6-10,10000,2,10-11
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
1
match found in about
0
milliseconds.
Show Permalink
Permalink
Index
Position
Matched String
$1
0
0
1,6-10,10000,2,10-11
10-11
5 captures
1
6-10
10000
2
10-11
1,6-10,10000,2,10-11
empty string
10-11
empty string