Skip to content

Instantly share code, notes, and snippets.

@alexgalkin
Last active April 17, 2018 22:46
Show Gist options
  • Save alexgalkin/b929bf20ab6cd64147cd6816926d1a51 to your computer and use it in GitHub Desktop.
Save alexgalkin/b929bf20ab6cd64147cd6816926d1a51 to your computer and use it in GitHub Desktop.
Sublime Tips
RegExpt for getting String before the first comma
^([^,])+
... alternative approach (option with selecting all possible characters)
^[a-zA-Z0-9\s\-\(\)\_\<\>]+
... and before the first space
^([^\s])+
Regexp for removing blank lines
^(\r|\n\r?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment