3v4l.org

run code in 300+ PHP versions simultaneously
<?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"; echo iconv('UTF8', 'ASCII//TRANSLIT', $test);

preferences:
34.79 ms | 402 KiB | 5 Q