3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $txt = 'FrequentiƩregelaar 0.37 Kw. 240V ingang - IP:20 - Bouwgrootte : 1 '; $txt = preg_replace('/\p{M}/u', '', $txt); $txt = preg_replace("/[^A-Za-z0-9]/", '-', trim($txt)); $txt = preg_replace('!\--+!', '-', $txt); echo $txt; echo '<br />'; $test = "Ʃlloo"; var_dump(preg_replace('/\p{M}/u', '', Normalizer::normalize($test, Normalizer::FORM_D)));