3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $fiv = '<p id="copyright">hfsdjfhjdsfh<a>asasd</a></p>'; echo preg_replace('/<p id="copyright">(.*)<\/p>/i', '', $fiv); print_r($fiv);
Output for 4.3.0 - 7.1.10
<p id="copyright">hfsdjfhjdsfh<a>asasd</a></p>