在Notepad ++中,在行尾添加每行的文本

时间:2015-08-18 10:28:01

标签: regex notepad++

Notepad ++ 如何:

Add all characters at the end of each line after adding the equal sign "=".

对于示例

This is a text  

This is a text = This is a text

2 个答案:

答案 0 :(得分:3)

正则表达式:

(.+)

替换字符串:

\1 = \1

DEMO

答案 1 :(得分:2)

(.+)\K

试试这个。替换为 = \1

See Demo