如何在记事本++中删除每一行的最后一部分?


8

我知道可以在notepad ++中完成此操作,但找不到正确的替换语法。

我想删除这句话的最后一部分,从?

http://sportnaslava.info/wiki/index.php?title=User:CisBlakeman861

这样它就变成了:

http://sportnaslava.info/wiki/index.php

Answers:



4
http://lunar.earth.northwestern.edu/mediawiki/index.php/Limitless_It_the_film_high_quality
http://sportnaslava.info/wiki/index.php?title=User:CisBlakeman861

使用这些示例,最好使用以下内容:

index\.php.*$

然后替换为:

index.php

那应该在index.php之后(包括其中)找到所有内容,并将其替换为index.php。

http://lunar.earth.northwestern.edu/mediawiki/index.php
http://sportnaslava.info/wiki/index.php

非常感谢您,putnik,alex和josh你们解决了它
国王
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.