Skip to content

Instantly share code, notes, and snippets.

@whoisryosuke
Last active June 7, 2019 21:19
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 whoisryosuke/dbc99aead6c5d0935809298eb00f6cba to your computer and use it in GitHub Desktop.
Save whoisryosuke/dbc99aead6c5d0935809298eb00f6cba to your computer and use it in GitHub Desktop.
(?<=\[)(.*?)(?=\])

find [this phrase]

returns

this phrase

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