Skip to content

Instantly share code, notes, and snippets.

@malipetek
Last active February 14, 2018 05:54
Show Gist options
  • Save malipetek/9a0fa66cad5a1f392a25f896722b468f to your computer and use it in GitHub Desktop.
Save malipetek/9a0fa66cad5a1f392a25f896722b468f to your computer and use it in GitHub Desktop.
Get parenthesis and inside content if it contains a word inside.
/(\(.*some_word_here.*[\)]*)\)/gi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment