【发布时间】:2016-09-15 16:36:09
【问题描述】:
我有一堆以 .txt 格式保存的平面文件。我想在每个文件中添加相同的页脚。如下
1st line text in file 1
2nd line text in file 1
footer
1st line in file 2
2nd line in file 2
footer
我可以在记事本++中试试这个
search: ^
replace: Header\n
但结果1st line text in file 1
footer
2nd line text in file 1
footer
1st line in file 2
footer
2nd line in file 2
footer
我只希望页脚在文件的最后一行下方出现一次。
任何帮助将不胜感激
【问题讨论】:
-
您要添加页眉还是页脚?
标签: notepad++ text-editor flat-file