Skip to content

Instantly share code, notes, and snippets.

@valentingavela
Last active July 29, 2019 20:30
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 valentingavela/91891a2ff38682449ff9b2973bd2b798 to your computer and use it in GitHub Desktop.
Save valentingavela/91891a2ff38682449ff9b2973bd2b798 to your computer and use it in GitHub Desktop.
Find whole lines not match with word
^((?!playerUrl).)*$
Find whole lines match with work
^.*\b(one|two|three)\b.*$
Find newline
([\n])
Match alphanumeric case insensitive
/^[a-z0-9]+$/i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment