PDA

View Full Version : notepad++ 替换行首、行尾空格


Quogue
2015-03-04, 06:51 AM
行首:^\s+
行尾:\s+$

如改行尾的
第一步查找:\s+$
替换为: 1

第二步,将所有的1再替换删除,即
查找:1
替换为: