Skip to content

Instantly share code, notes, and snippets.

@fabienduhamel
Last active August 17, 2017 09:33
Show Gist options
  • Select an option

  • Save fabienduhamel/6609f969950cfeee8695928594469195 to your computer and use it in GitHub Desktop.

Select an option

Save fabienduhamel/6609f969950cfeee8695928594469195 to your computer and use it in GitHub Desktop.
Regex - Negate a line containing specific words
^(?!.*STRING1|.*STRING2|.*STRING3).*$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment