preg_match non digerisce / anche se si mette \/, quindi ho usato ereg...