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.
我需要更改以下内容
<elor>crap</elor></utha>
到
<elor>crap</elor> </utha>
我想使用正则表达式来做到这一点,我不希望任何对齐不匹配(出于某种蹩脚的原因),如果有人能为此指出 editplus3 正则表达式会更有帮助。
让我扩大这个问题的范围,我使用 java DOM API 将元素添加到现有 XML,发生这种对齐不匹配,我无法合并这个文件。如果可以避免 DOM 级别的对齐问题,我非常乐意尝试。
没关系,只需探索 EditPlus 3 正则表达式功能。明智地使用 /n 和 /t 可以解决这个问题。