How about using URI, and matching the end of the $uri->host or $uri->ihost methods?
--MidLifeXis
In reply to Re: Regex: Extract base URL for a specific domain
by MidLifeXis
in thread Regex: Extract base URL for a specific domain
by alpha-lemming
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |