Skip to content

Instantly share code, notes, and snippets.

@yesmeck
Last active August 29, 2015 14:13
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 yesmeck/b5706b31239c1cbe45e9 to your computer and use it in GitHub Desktop.
Save yesmeck/b5706b31239c1cbe45e9 to your computer and use it in GitHub Desktop.
Regex Lookaround
Regex Match
q(?=u) q followed by a u
q(?!u) q not followed by a u
(?<=u)q q preceded by u
(?<!u)q q not preceded by a u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment