Skip to content

Instantly share code, notes, and snippets.

@imsmo
Created December 20, 2019 05:39
Show Gist options
  • Save imsmo/93fc313128ccba6ffb22ba06f4a9a194 to your computer and use it in GitHub Desktop.
Save imsmo/93fc313128ccba6ffb22ba06f4a9a194 to your computer and use it in GitHub Desktop.
Sublime Regex
1. Example: "This is just\na simple sentence".
I want to match every character between "This is" and "sentence". Line breaks should be ignored. I can't figure out the correct syntax.
Regex: (?<=This is)(.*)(?=sentence)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment