L'ho scritta al volo, ma questa dovrebbe adattarsi a qualsiasi tag :

codice:
preg_replace('/<([\w]{1})([^>]+)>/', '<$1>', $str)
Ciao