Skip to content

Instantly share code, notes, and snippets.

@M-Razavi
Created December 10, 2021 17:12
Show Gist options
  • Save M-Razavi/66adfb6f58f9d121d31b89b08e3fd3b7 to your computer and use it in GitHub Desktop.
Save M-Razavi/66adfb6f58f9d121d31b89b08e3fd3b7 to your computer and use it in GitHub Desktop.
Search in multiline (REGEX)
\bWORDA[\s\S]*?WORDB
\bWORDA[\s\S]*?WORDB(?=[\r\n])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment