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
/
(one|two|three);?(?!\1)(one|two|three);?(?!\2)(one|two|three)
/
gm
Input 1
1
New
one;two;three two;one;three three;two;one one;one;two three;one;two onetwothree two;one;one