Skip to content

Instantly share code, notes, and snippets.

@jserrao
Created May 19, 2014
Embed
What would you like to do?
$('div').html(
function(i,html) {
return html.replace(/(@\w+)/g, '<span>$&</span>');
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment