Sublime Text Remove Leading Spaces

This is a quick trick to remove the leading spaces in Sublime Text. Go into Find/Replace mode (Ctrl+h), click the “Regex” button, and use this regex string:

^[^Srn]+

Good Luck!