3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $subject = ">>1<\/p>\n<\/i><\/i><\/i><\/p>"; echo preg_replace("/>>(.+)/", "<span style='color:#1DE9B6'>$1</span>", $subject);
Output for 4.3.0 - 7.2.6
<span style='color:#1DE9B6'>1<\/p></span> <\/i><\/i><\/i><\/p>