7uhjvg
Last Updated: February 25, 2016
·
1.996K
· alexvpopov

Positive lookbehind and lookahead in Sublime Text 2

Find all instances of double space not preceded by space (everything between the pipes excluding the pipes):

|(?<=[^\s])   |

Find all spaces, followed by a question mark, a period or an exclamation mark:

| (?=(\?|\.|!))|