This entry was posted
on Tuesday, June 16th, 2009 at 12:00 am and is filed under Code.
You can follow any responses to this entry through the RSS 2.0 feed.
You can leave a response, or trackback from your own site.
3 Responses to “Regular Expression Twitter Linker”
Say you write a post about twitter meetup – and put in a lot of twitter handles like @binnyva and @arunbasilllal. Then you decide that you need to link the usernames to their twitter profile. Either you could go and edit all the handles manually, or you could do a regular expression replace.
It basically replaces a specific string pattern with another pattern. I hope I have made it clear for you. And please curse your college for not teaching your useful stuff like this(this topic was covered in BCK5 in my talk).