hi all
i have a string text that may contains urls (this text is got from a form text area)
and i want to detect those urls and surrounds them with the tag so that they will be represented in html page as links
what is the best way of doing that ?
hi all i have a string text that may contains urls (this text is
Share
use regular expressions.
look here from more information
http://daringfireball.net/2010/07/improved_regex_for_matching_urls