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
r"
^shoulder|(?<!left|right)\s+shoulder
"
g
Input 1
1
New
1) car on the right shoulder 2) car on the left shoulder 3) car on the shoulder shoulder (4)
Extraction
1) car on the right shoulder 2) car on the left shoulder 3) car on the shoulder shoulder (4)