【发布时间】:2012-09-14 02:42:32
【问题描述】:
我想使用 Notepad++ 将一行中的所有前导空格替换为相同数量的给定字符。例如,我想改变:
zero
one
two
three
进入:
zero
@one
@@two
@@@three
我没有成功地让这个工作。我确实找到了Regex to replace html whitespace and leading whitespace in notepad++,但无法得到我想要的结果。
Notepad++ 可以做到这一点吗?我宁愿不必编写代码来执行此操作...
【问题讨论】: