Regex for url domain
Posted
by systempuntoout
on Stack Overflow
See other posts from Stack Overflow
or by systempuntoout
Published on 2010-05-27T18:26:11Z
Indexed on
2010/05/27
18:31 UTC
Read the original article
Hit count: 197
regex
How do i match from these urls:
http://foo.bar.com
http://bar.com
foo.bar
from the first link and bar
from the second link using one single regex?
© Stack Overflow or respective owner