Hello guys! The similar question, how to split page on HTML by tag with content?
<p>Some text with tags #1</p>
<div style="position: absolute;">
Some content (with tags)
</div>
<p>Some text with tags #2</p>
Result:
Array ( [0] => <p>Some text with tags #1</p>, [1] => <p>Some text with tags #2</p>)
Expected function preg_split()?
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.