also, note I used preg_match instead of ereg, preg is a better choice
over ereg usually (flexibility, speed, etc)
Ross Hulford wrote:
> Does anyone know a working eregi expression for determining a domain is
> valid? don't need the http:// just looking for www.thedomain.com
>
> cheers,
>
>
> R.