it should be better with preg_replace, but is it authorized ?