Re: Regex for Validating URL

From: Date: Thu, 02 Sep 2004 10:42:42 +0000
Subject: Re: Regex for Validating URL
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-195530@lists.php.net to get a copy of this message
* and then Stut declared.... > > Does anyone have the regex to make sure an http address is full and > > without error? like http://www.example.com > > A quick google (php regex validate url) found this... > > http://www.canowhoopass.com/guides/regex/ Yes, i saw that page. As I said, I have searched *a lot* for this. That is a bit overkill for me, i just want to validate the syntax of a regular http address. I tried reading the code to extract the needed portion but couldnt work it out ;( Anyone help me out? Thanks.. -- Nick W

« previous php.general (#195530) next »