Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Negative Lookahead (?!)
Open Workspace
PCRE (Legacy)
Substitution
Created 2018-07-19 05:46
0
Regular Expression
/
box
(?!
-shadow
)
/
gm
Description
Selects box only if what comes after is NOT -shadow
Submitted by
Anonymous