function to return url

Posted on 16th Feb 2014 by admin

Hi,

Can you guys help me giving a function that takes all the contents in a particular field and returns text and url seperately...

For instance,

Go:
here is the link
www.google.com

it takes all the contents in the Go,and returns "here is the link" as text and "www.google.com" as link.I've an idea that preg match has something to do with content matching,I've tried that and I gave up.


Any help would be appreciated

Other forums