@Training-Surat Thank God for Periodic Backup, right? Regular Expressions are an art as much as a science, but having said that, I’m aware of ways that Notepad++ does it less than ideally. But I agree that what it does, for the price, is absolutely awesome!
@V-S-Rawat Half-jokingly, I say, “It’s not a bug, it’s a feature!” There have been discussions here where a user says, “I wish Notepad++ did [something] like [some program].” Then it gets implemented, and lots of other users complain because it doesn’t work like it used to. :)
I understand what you’re saying, and sometimes it frustrates me too that I need to remember what line I started on. However, there are other times where I want to search for or replace a repeated part, and after I’ve been through the file once, there are still more instances that are repeated more than once, so that feature can come in handy. Here are some tips (used together or individually) to overcome this difference in functionality:
Use the count feature to count the number of occurrences before actually finding the text. Set a bookmark (Ctrl-F2) before searching, then return to the bookmark after search (F2). Go to the top of the file, use the Search/Replace box, and un-check the Wrap around checkboxThere are probably more ways to manage this, but those are the ones I use when I absolutely have to get back to where I started when I’m finished.