Friday, September 30, 2016

Textmate Regular Expressions

To remove numbers in the format 12:34, enter the regular expression:

 ^\d{2}:\d{2}$

in the find field, click on regular expression and click Replace All. To replace two new lines with one new line:

Find: [\n]+
Replace : \n

No comments:

Post a Comment