3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $h = "asdasd __asdasd__ frer __ desg df -+ br __"; preg_match_all('/_\_(.*?)_\_/i', $h, $r, PREG_PATTERN_ORDER); $rr = preg_replace('/_\_(.*?)_\_/i', '//', $h); print_r($rr);
Output for 4.3.0 - 7.1.0
asdasd // frer //