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
/
^(?!.*\bclouds\b)(?=.*\bsun\b).*$
/
gm
Input 1
1
New
The sun is yellow and the sky is blue The sun is yellow and the clouds are white The crayon is yellow and the clouds are white There are many suns I see one cloud in front of the sun The sunshine is bright