Skip to content

Instantly share code, notes, and snippets.

@sbjustin
Created April 12, 2013 23:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sbjustin/5375998 to your computer and use it in GitHub Desktop.
Save sbjustin/5375998 to your computer and use it in GitHub Desktop.
ct = ct.replace(/^(@)(\w+)/g, ' @<a href="'+twitterURL+'$2">$2</a>');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment