Cleaning text automatically