delete @" " and @"\n" from recognized string