We strictly require e.164 mobile number formatting when importing people into Jomablue. If you are using Jomablue registration, the formatting is automatically applied.
The e.164 formatting is a globally recognised standard of formatting phone numbers. This ensure maximum chance of delivery when using SMS functionality within Jomablue. The format is as follows;
+ (plus symbol)
International Country Calling Code
Conversion to e.164 Examples:
Australian number: 0421 221 001
US Number: (415) 555-2671
UK number: 020 7183 8750
Wikipedia has a comprehensive list of all country codes here.
As a general rule, when the country code is applied, the leading 0 is dropped. So 0400 000 000 becomes +6140 000 000 since there are no country codes that start with 0.
You can use the following sample Regular Expression (regex) as a starting point to validate numbers - note that this will not match with numbers containing a '0' after the '+':