Thank u sir. It's working.
After that also, I am getting the same error if(strng.matches("\([a]<[b]\)")
if(String.matches("\([a]<[b]\") I am getting error: unrecognized escape sequence.
I want to do pattern matching using java. My string is (a<b) I tried with the following patterns. [(][a][<][b][)]$ and...
Separate names with a comma.