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.
我正在使用 PowerGrep 从 html 文件中收集一些数据。在每个文件中,我使用正则表达式匹配两个字符串,然后我想将这两个字符串组合成一行。
我尝试使用:
$\r\n
并用空白替换,但它不起作用。当我在 Notepad++ 中使用相同的正则表达式时,它可以工作。但我不能使用 Notepad++ 一次从大量文件中收集数据。任何提示如何在 PowerGrep 中组合两行?
这就是我所拥有的
aaa, bbb
想要这个:
aaa,bbb