visual studio2012
改变了正则表达式的写法
因此原来的不管用了
Old:
^:b*$\n
New:
^(?([^\r\n])\s)*\r?$\r?\n
Click Ctrl-H (quick replace)
Tick "Use Regular Expressions"
In Find specify
^(?([^\r\n])\s)*\r?$\r?\n
In Replace box delete everything.
Click "Replace All"