note 32115 deleted from function.ereg-replace by alindeman

From: Date: Sat, 17 May 2003 14:31:27 +0000
Subject: note 32115 deleted from function.ereg-replace by alindeman
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-48142@lists.php.net to get a copy of this message
Note Submitter: dontwant@no.friggin.spam I need a really good pattern to find and replace urls using eregi_replace. It needs to replace it with the html to make the url. It also needs to work for the following things. http://www...etc www...etc http://...etc 3 letter endings like .com 2 letter endings and 4 letter endings Lots of sub-domains, I know you can get at least a sub-domain of a sub-domain! And anything else you guys can think of that needs to be added. So if someone can whip one up for me I'd be very grateful, thanks alot.

« previous php.notes (#48142) next »