Convert Twitter Usernames and Hashtags Into Links Using MooTools

stoutlabs.com / filed under jQuery

Here’s a small Mootools class that will automatically parse text and convert Twitter usernames and hashtags into links. I have one slight issue with usernames being inside of parentheses, but that’s pretty much because I’m a RegExp noob.

Join thousands of product people and get the latest articles and resources from my curation every day or week.