Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^\d+(?:,\d+)?(?:;\d+(?:,\d+)?)*$
/
gm
Input 1
1
New
OK: 2,3;4,4;3,2 4,4,4,3 2,3 4,;5,5;5,4 2 2,3;3;4,3 2, 2;3, 3,4;6,6;5;5 NOK: 2,3,,,, 2,3asfafafa ;2,3 2,3;;3,4 2,3;3,4;
Extraction
OK: 2,3;4,4;3,2 4,4,4,3 2,3 4,;5,5;5,4 2 2,3;3;4,3 2, 2;3, 3,4;6,6;5;5 NOK: 2,3,,,, 2,3asfafafa ;2,3 2,3;;3,4 2,3;3,4;