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"
^(?=.*\google\b)(?=.*\i\b).*|(?=.*\com\b).*
"
gm
Input 1
1
New
www.google.com/i.html www.google.com "www.google.com/g/i.com "www.google.com "www.google.th "www.goo.com/i
Substitution
www.google.com/i.html www.google.com "www.google.com/g/i.com "www.google.com "www.google.th "www.goo.com/i