* Thus wrote Nick Wilson: > > * and then John Holmes declared.... > > 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])?)\. > > Pretty funny John..... > > apart from a good laugh, what does that do? ;-) > > All i want is to check that the url is valid. IE that it does not read > like this for example htt://www.example.com or http://[EMAIL PROTECTED]
Both of those are perfectly valid. Curt -- First, let me assure you that this is not one of those shady pyramid schemes you've been hearing about. No, sir. Our model is the trapezoid! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php