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
/
^(([1-4][/][1-4])*)(([,][1-4][/][1-4])*)(([1-4])*)(([,][1-4])*)$
/
Input 1
1
New
4/1,6/5,6/1,1,2,3,4,5 5,4,3,2,1,1/3,4/4,2/5 2,5,3,2,1,1/3,4/4,2/5asdf 1asdf 4/1 2/3,1,2,3 ,2/3,1,2,3 2/3,1,2,3,4,5 ,2/3,1,2,3,4,5 5,2/3,1,2,3 4/1,2/3,1,2,3,4,5 1/4,2/3,1,2,3,4,5
Substitution
4/1,6/5,6/1,1,2,3,4,5 5,4,3,2,1,1/3,4/4,2/5 2,5,3,2,1,1/3,4/4,2/5asdf 1asdf 4/1 2/3,1,2,3 ,2/3,1,2,3 2/3,1,2,3,4,5 ,2/3,1,2,3,4,5 5,2/3,1,2,3 4/1,2/3,1,2,3,4,5 1/4,2/3,1,2,3,4,5