我现在一直在弄弄notepad ++,对如何执行此操作感到困惑:
我在要搜索的多个文件(在根目录中)中有一行。例:
Brittany (File 1)
PeopleSleptWith 2
Tiffany (File 2)
PeopleSleptWith 4
Bonqueesh (File 3)
PeopleSleptWith 3456
.
.
.
我的目标是PeopleSleptWith
用一个常量(IE PeopleSleptWith 7
)替换所有行,但是当我搜索并替换多个文件时,它不会删除完整的行,从而导致:
Brittany (File 1)
PeopleSleptWith 7 2
Tiffany (File 2)
PeopleSleptWith 7 4
Bonqueesh (File 3)
PeopleSleptWith 7 3456
实际上,我想要:
Brittany (File 1)
PeopleSleptWith 7
Tiffany (File 2)
PeopleSleptWith 7
Bonqueesh (File 3)
PeopleSleptWith 7
那么,如何继续查找字符串,删除该行中的所有内容,然后将其替换为另一个字符串?