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"
\b(crayons|cars|camels)\b(?:[^a-z\n]*([a-z]*)[^a-z\n]*([a-z]*))
"
gmi
Input 1
1
there are many crayons, in the blue box crayons that are', cars! i like a lot of sports cars because they go fast', the camels, in the middle east have many camels to ride, some more example with edge case camels some hyphense words see-camels should it match ?? hello test string cars one
Extraction
there are many crayons, in the blue box crayons that are', cars! i like a lot of sports cars because they go fast', the camels, in the middle east have many camels to ride, some more example with edge case camels some hyphense words see-camels should it match ?? hello test string cars one