RegEx and URLs

From: Date: Tue, 30 Jan 2001 23:13:34 +0000
Subject: RegEx and URLs
Groups: php.general 
Request: Send a blank email to php-general+get-37318@lists.php.net to get a copy of this message
I have some text that may or may not contain valid URLs (anything starting with an http:// or a mailto:). Some of these URLs may or may not be contained within a valid A HREF tag. Could somebody help me out with a regex that would find all the URLs that are not already contained in an A HREF tag and convert them to one? The URLs could fall anywhere within the text. thanx! Joseph E. Sheble a.k.a. Wizaerd Wizaerd's Realm Canvas, 3D, Graphics, ColdFusion, PHP, and mySQL http://www.wizaerd.com =================================

« previous php.general (#37318) next »