SendKeys method adding white space after the

when i send the text using the send keys method like([email protected]) its adding a white space after the dot(.) like (test@mail. com) which makes the system to throw a warning to fix the email address. I have used the text.replace("//s",""), text.replace(" “,”"), text.replaceAll("//s",""), text.replaceAll(" “,”") to no avail, if someone could assist i would greatly appreciate