I have following regular expression to check mobile number
^(0\d{10,15})$|(?!\1)(\+\d{1,3}\d{10,15})$
the string should match either 0 at the beginning followed by 10 to 15 digits
or (but not both)
the string with a + at the beginning with 1 to 3 digit country code followed by 10 to 15 digits
the first condition is matched but number with +[country-code] does not