<?php $text = 'El méu tëst'; $text = preg_replace('~[^\\pL\d]+', '-', $text); var_dump( $text );
You have javascript disabled. You will not be able to edit any code.