In an intermediate output, I'm getting a string like:
+91 87774 44444 (64 messages):
I tried using this regex but it is returning false:
(^\\+\\d{2} \\d{5} \\d{5} \\(\\d* \\w*\\):)
Can anyone explain me this, and also provide correct answer? I'm using Netbeans IDE.
The message contains a null character at the end, that's why I can not match the pattern...