Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在每一行我都想:
然后为每一行做
我开始了:
^.{8}(.{4}).{4}
是否可以单行或重复模式...
(我使用 Notepad++ 和 TextPad)
这应该可以解决问题。只需像您一样计算字符并用捕获组和空格替换。
寻找
^.{8}(.{4}).{4}(.{4})(.{1})
替换(包括后面的空格$2)
$2
$1$2