Jump to content

Find and replace


JustinK101

Recommended Posts

Thanks for the reply. Ok, lastly, need to do something a bit more complicated.

 

I want to search a large string of HTML for exactly:

 

<div class="footer-parent">

 

and remove the entire HTML subtree under this. So basically delete all string HTML contained within:

 

<div class="footer-parent">

 

  // A whole bunch of nested html and markup, that should be deleted.

 

</div>

Link to comment
https://forums.phpfreaks.com/topic/213198-find-and-replace/#findComment-1110142
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.