I am editing some email that got from tesseract ocr.
Here is my code:
if (email != null) { email = email.replaceAll(\" \",
You are using some regex characters.
Please escape them using \ or by using Pattern.quote method
\
Pattern.quote