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
/
\w+\.(?=(com|uk))
/
gm
Input 1
1
New
1) domain.com/our-work/insights/tips-and-advice/2008/02/04/the-path-to-good-design-is-proper-analytics 2) subdomain.domain.com 3) im.domain.com/About.htm 4) domain.uk/help.htm
Extraction
1) domain.com/our-work/insights/tips-and-advice/2008/02/04/the-path-to-good-design-is-proper-analytics 2) subdomain.domain.com 3) im.domain.com/About.htm 4) domain.uk/help.htm