3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $body = 'asugiadsig $SYMB asgjsg$SMOREsdgisgh$SIXCHRasgasrh'; $body = preg_replace('/\$([A-Z]{1,6})/', '\\1', $body); echo $body;
Output for 4.3.0 - 7.2.0
asugiadsig SYMB asgjsgSMOREsdgisghSIXCHRasgasrh