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
/
car (zap zap|zap yes|zap xerox|zap with|zap view|zap under|zap this|zap sort|zap rest|zap quick|zap pie|zap orange|zap nope|zap meal|zap letter|zap kayak|zap joseph|zap indiana|zap humus|zap gelatin|zap frankfurter|zap elephant|zap doormat|zap carrot|zap banana|zap apple|zap|yes zap|yes yes|yes xerox|yes with|yes view|yes under|yes this|yes sort|yes rest|yes quick|yes pie|yes orange|yes nope|yes meal|yes letter|yes kayak|yes joseph|yes indiana|yes humus|yes gelatin|yes frankfurter|yes elephant|yes doormat|yes carrot|yes banana|yes apple|yes|xerox zap|xerox yes|xerox xerox|xerox with|xerox view|xerox under|xerox this|xerox sort|xerox rest|xerox quick|xerox pie|xerox orange|xerox nope|xerox meal|xerox letter|xerox kayak|xerox joseph|xerox indiana|xerox humus|xerox gelatin|xerox frankfurter|xerox elephant|xerox doormat|xerox carrot|xerox banana|xerox apple|xerox|with zap|with yes|with xerox|with with|with view|with under|with this|with sort|with rest|with quick|with pie|with orange|with n
/
g
Input 1
car apple view crashed car doormat elephant crashed car humus zap crashed car banana crashed car crashed ^ the above shouldn't match