Delete everything after a value.
Hello everyone, I have found in another treat this code
Whis will choose the last word called “value” on a text and, if used replace with empty, delete everything before that in a file.
Now, what i want is the complete opposite, I want to delete everything AFTER “value”
Additionally if someone could tell me how to start with the first found value rather than the last found value that would be great, since the code I posted here always choose the last “value” found.
Thanks in advance
I realized that Notepad++ has the option to reverse a search
means that you found your solution?
I’m asking because I was going to respond to the original question.