3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $search = array( '/\[\s]+/s', '/\[\s]+/s', ); $replace = array( '>', '<', '\\1' ); echo preg_replace($search, $replace, ' hola que tal kjahs jkhasd asd sad asd das sda f re');
based on r7caV
Output for 4.3.0 - 7.3.0beta1
hola que tal kjahs jkhasd asd sad asd das sda f re