I am consuming the Twitter API and want to convert all URLs to hyperlinks.
What is the most effective way you’ve come up with to do this?
from
string myString = 'This is my tweet check it out http://tinyurl.com/blah';
to
This is my tweet check it out <a href='http://tinyurl.com/blah'>http://tinyurl.com/>blah</a>
Regular expressions are probably your friend for this kind of task:
The regular expression for matching URLs might need a bit of work.