0

i have a big string that holds a big html string. Now i want to remove part of html from the big string $code. The part that i want to remove has starting point:

<div id="crumbsPanel">

and end point :<div id="ThumbnailsPanel">

so my big string $code has to exclude anything between those start and end point! could any one tell me how this can be done?

user1788736
  • 2,727
  • 20
  • 66
  • 110
  • Did you read about [`DOMDocument`](http://php.net/manual/en/class.domdocument.php)? It might help you! – al'ein Aug 27 '15 at 00:52
  • 1
    Take a look here: http://stackoverflow.com/questions/13031250/php-function-to-delete-all-between-certain-characters-in-string – versalle88 Aug 27 '15 at 00:53

0 Answers0