Skip to content

Instantly share code, notes, and snippets.

@bltavares
Created September 5, 2012 03:31
Show Gist options
  • Save bltavares/3629894 to your computer and use it in GitHub Desktop.
Save bltavares/3629894 to your computer and use it in GitHub Desktop.
Regex tuesday
http://callumacrae.github.com/regex-tuesday/
Challenge 1
/(\b(?:\w|')+) (\1\b)/ig -> $1 <strong>$2</strong>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment