3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = 'bla bla </container> e <container style="autore"> bla bla bla'; $value = preg_replace('#</container>([a-z]+|\,|\;)<container style="autore">#', 'X\1X', $string); echo $value;
Output for 4.3.0 - 7.3.0beta1
bla bla </container> e <container style="autore"> bla bla bla