I have the following regex:
String regexContact = "^([0|\\+[0-9]{1,5})?([7-9][0-9]{9})$";
Android is pointing error at the end of the regex, saying:
Unclosed character class.
I have sifted through similar questions but could not find an answer for this particular error in my case. I am unable to find out if my regex itself is wrong somewhere. Any help would be appreciated.
[as it is just erroneous as it starts a character class.