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
/
(?<!\S)(?=\S{8}\s)(?:[^\s\d%]*[%\d]){3}\S*
/
gm
Input 1
New
this word ab1d2f3h needs to go, but not this word abcdefgh %%% ab1d2f3h ab%d2f3h ab%d%f3h ab%d%f%h ab%d%fh ab%d%f%hh ab%d%fjh
Extraction
this word ab1d2f3h needs to go, but not this word abcdefgh %%% ab1d2f3h ab%d2f3h ab%d%f3h ab%d%f%h ab%d%fh ab%d%f%hh ab%d%fjh