Skip to content

Instantly share code, notes, and snippets.

@JunaidQadirB
Created January 30, 2014 08:15
Show Gist options
  • Save JunaidQadirB/8704488 to your computer and use it in GitHub Desktop.
Save JunaidQadirB/8704488 to your computer and use it in GitHub Desktop.
Regex snippet to find a any block of code.
(.*)\{(.|\n)*?}
Reference: http://stackoverflow.com/questions/159118/how-do-i-match-any-character-across-multiple-lines-in-a-regular-expression
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment