3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $s = "Stick'& Go BY AVERY !"; $result = preg_replace("/[^a-zA-Z0-9]+/", "", $s); echo $result;
based on gVJSi
Output for 4.3.0 - 7.2.0
StickGoBYAVERY