On Thursday 02 September 2004 20:52, John Holmes wrote:
> From: "Nick Wilson" <[EMAIL PROTECTED]>
>
> > Does anyone have the regex to make sure an http address is full and
> > without error? like http://www.example.com
>
> (?:http://(?:(?:(?:(?:(?:[a-zA-Z\d](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?)\.
> )*(?:[a-zA-Z](?:(?:[a-zA-Z\d]|-)*[a-zA-Z\d])?))|(?:(?:\d+)(?:\.(?:\d+)

[snip]

Did you just pulled it out of your ***[1] or did you copy-n-paste it from 
somewhere?


[1] hat


-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
Life would be tolerable but for its amusements.
                -- G.B. Shaw
*/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to