Sublime Forum

Deleting or Replace LRGE tags

#1

Please help!

Example; I have large file with:

<p style="text-indent: 0pt;line-height> <p class="s15" style="padding-top> <p class="s12" style="padding-left: > <p>. . . and so on I want to remove everything in between <p…> and keep clean <p> It would take me long time to do it manually and remove everything in between <p> one by one. Can you please help!</p>
0 Likes

#2

Find :point_right: Find In Files…

Enable “regex search”:

https://forum.sublimetext.com/uploads/default/original/3X/7/d/7dc92c8640c0e75fde27612ec45bac699a180edc.png

Find: <p [^>]+>
Where:
Replace: <p>

0 Likes

#3

I wish I could shake your hand.!!

1 Like