Do you expect urls to always have a www? Do you expect urls to have file names and/or additional variables? How far do you want the regex to go?
On 6/20/07, Victor Moore <[EMAIL PROTECTED]> wrote: > > Hi, > > I get a text field form the db. Sometimes the text contains url like: > http://www.abc.com (or just www.abc.com). > Id is possible to write a regex to replace it to: > <a href="http://www.abc.com">http://www.abc.com</a> > > Thanks > Victor > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281645 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

