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.
我需要通过使用 textpad 或 notepad++ 添加大约 4065009 的尾随空格来增加 2,00,000 行的长度。这怎么可能 ?我尝试了 Notepad++ 中可用的各种选项,例如将制表符转换为空格等,但它不起作用。
您可以尝试使用正则表达式将所有换行符替换为许多空格和换行符。然后使用矩形鼠标选择在您想要的宽度右侧切断所有内容。不确定notepad++是否能很好地处理大的矩形选择,你可能不得不分几个小块来做。
刚试过这个,它似乎确实有效。在替换对话框中选择“正则表达式”。替换$为大量空格。然后使用左 ALT+ 鼠标拖动来选择要在行尾删除的所有额外空格。然后点击删除。
$