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
\\\\.(.*)}
You need to escape } as @Rohit Jain said:
}
String regex = "\\.(.*)\\}";
Your regex does work in java, but it fails on android for some reason.