Skip to content

Instantly share code, notes, and snippets.

@SammyVimes
Last active May 30, 2017 19:10
Show Gist options
  • Save SammyVimes/87109a74e1fa90f04f08b42855cb4972 to your computer and use it in GitHub Desktop.
Save SammyVimes/87109a74e1fa90f04f08b42855cb4972 to your computer and use it in GitHub Desktop.
My top regexes

1. Negative lookahead

^(?!.*NotThisWord).*OnlyThisWord.*$

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment