简体   繁体   English

记事本++:字符串的最后一次出现

[英]Notepad++: last occurrence of string

I want to find the last occurrence of a string in a large text file in Windows. 我想在Windows的大型文本文件中找到字符串的最后一次出现。 Is there a way to do this using Notepad++ (also do suggest methods beyond Notepad++ if you know a better method)? 有没有办法使用Notepad ++做到这一点(如果您知道更好的方法,也可以建议Notepad ++以外的方法)吗?

I don't want to install any add-on or anything else, if possible. 如果可能的话,我不想安装任何附加组件或其他任何东西。

Thanks. 谢谢。

Just press Ctrl+F or from the Menu - Search -> Find and then type your string in search field. 只需按Ctrl + F或从菜单-搜索->查找,然后在搜索字段中键入您的字符串。 In direction choose Up, and it will start from the end.(Make sure you haven't point your mouse anywhere on the text before all this, or it is before the first character in the file.) 在方向上选择``向上'',它将从结尾开始(请确保您没有将鼠标指向文本之前的所有位置,也不要将鼠标指向文件中第一个字符的位置。)

Notepad ++查找和替换自下而上

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM