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"
^(?=.*dog)(?!.*park).*$
"
gm
Input 1
New
The dog and the man play in the park. Man I love that dog! I'm dog tired. The dog park is no place for man. park next to this dog's man.
Extraction
The dog and the man play in the park. Man I love that dog! I'm dog tired. The dog park is no place for man. park next to this dog's man.