天天看點

Visual Studio 正規表達式替換

查找空行:^(?([^\r\n])\s)*\r?$\r?\n

查找多餘的空行:^(?([^\r\n])\s)*\r?$\r?\n^(?([^\r\n])\s)*\r?$\r?\n

轉載于:https://www.cnblogs.com/hornet/p/4130470.html