Notepad++ Remove everything before a string

I was working on formatting an xml file in Notepad ++, I need to remove everything before tag. so that it looks clean


Use the find and replace option (CTRL + H)
Use the Regular Expression mode and replace .* with an empty string.
Before applying the Regular Expression

























Replace Option
















After Applying the regular expression


Hope this helps :)

1 comment:

Amir said...

Thanks for the help..

 My Attempt to learn AI  GPT Generative Pretrained Transformer Created by Google in 2017 with the publication of the paper "Attention ...

Popular in last 30 days