3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = 'http://www.freevampires.net/fantasy/Steel_s_Edge/index_3.html'; $url = preg_replace('/\/index_?[0-9]*.html/', '/index', $url); echo $url; ?>
based on sFZXP
Output for 5.6.0 - 7.3.0rc4
http://www.freevampires.net/fantasy/Steel_s_Edge/index