<?php $html = '<div id="test"><p style="hello_world">This is a test.</p></div>'; $readmore = ' <a href="/foo/bar">Read More…</a>'; // Outputs: // '<div id="test"><p style="hello_world">This is a test.</p> <a href="/foo/bar">Read More…</a></div>' echo preg_replace('#</\w>\s*$#', $readmore .'$1', $html);
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`