记事本++正则表达式替换 [英] Notepad++ regex replace
本文介绍了记事本++正则表达式替换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有充满以下几行的文本文件:
I have text file full of following lines:
F randomtext
F morerandomtext
我需要什么样的正则表达式才能使输出像这样:
what kind of regex I need so that the output would be like this:
randomtext,foo
morerandomtext,foo
所以 F 变成 foo 并移动到行尾.
so the F becomes foo and moves to the end of line.
谢谢
推荐答案
查找:
F (.*)
全部替换为:
\1,foo
这篇关于记事本++正则表达式替换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文