I am using \\\\.(.*)} regex pattern to search a specific string in my Android Test Project. when i am using this regex to check on online available tools the re
\\\\.(.*)}
I was facing the same problem. I just surround it with a
try{ }catch (PatternSyntaxException e) { e.printStackTrace(); }
and it worked.