I am new to C# and working with regular expressions. I have created a regex accurately and have tested online but when I use that regex in my function it always validate it as success case.
Here is my code:
 Regex regex = new Regex(@"[+]?[0-9]+");
        Match match = regex.Match(phone);
        if (match.Success)
        {
            return true;
        }
        else
        {
            return false;
        }
and I am using this number to validate : +92-322-4995562 which must be invalid according to my regex but it is returning me as match case. Please help
 
     
    