-1
Example:
$string = '<div class="teste"> Hello word </div> Hello pessoal';
I intend to remove the div that contains the test class and its contents.
-1
Example:
$string = '<div class="teste"> Hello word </div> Hello pessoal';
I intend to remove the div that contains the test class and its contents.
-1
This PHP library allows you to modify HTML content:
Browser other questions tagged php
You are not signed in. Login or sign up in order to post.
Read about the classes
DOMDocument
andXPath
.– Woss