Convert Twitter Usernames and Hashtags Into Links Using MooTools / 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.

Subscribe to newsletter

Best design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency

Privacy Policy