How to split mobile number into country code, area code and local number? e.g +919567123456 after split
country code = 91
area code = 9567
local numb
The answer very much depends on the country. There is no universal rule saying "this is country code, this is area code, this is local number". The only information that can be gained universally is the country number (and even that can be 1-4 digits long); then you need to consult the specific country's ruleset.
For examples (like, "there are many different phone numbers in the given countries, but they all follow the same format"):