Codice PHP:

$words 
'ciao - mondo-- crudele----';

print_r(preg_replace('/[\\\-]*/',$words));