While traning documents for ML model; Special characters are being place at the end of string

I am using classic mode due to some reasons.