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..

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days