MessagesReplacement version 2024-09-16new
AutoTelnew version 2024-04-10new
Aotearoa Land Line number examples
:valid:
: : 123 4567
: : 04 567 8901
: : (09) 987-6454
: : +64 (3) 654 9876
:invalid:
: : +64944445555
: : (04)12345678
|
- valid
-
-
- 123 4567
-
- 04 567 8901
-
- (09) 987‑6454
-
- +64 (3) 654 9876
- invalid
-
-
- +64944445555
-
- (04)12345678
|
valid numbers
Some number in France: +336 1234 5678
|
Some number in France: +336 1234 5678
|
invalid number examples
: : 12345, 123456, 1234567, 12345678, 123456789
: : 1234567890, 01234567890, 12345678900
: : 999-999, 888 888
: : 20231230 e.g. dates 2023-12-31
|
-
- 12345, 123456, 1234567, 12345678, 123456789
-
- 1234567890, 01234567890, 12345678900
-
- 999-999, 888 888
-
- 20231230 e.g. dates 2023-12-31
|
MessagesReplacement version 2024-09-16new
Messages
autotelnew\autotelnew
autotelnew\autotelnew
D:\Home\KiwiWiki\pmwiki\cookbook\autotelnew.php: 2024-04-10new
defaults: +64; 4; 0
ignorePrefix: "(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))"
ignoreSuffix: (?!\s?[0-9])
visualSeparatorVal: \s|[-]|\ |\&\#8209;
visualSeparator: (?:\s|[-]|\ |\&\#8209;)
openParen: [\(]?
closParen: (?:[\)]|[\)]?(?:\s|[-]|\ |\&\#8209;) )
countryCode: (\+\d{1,3})
countryCodeSep: (?:(\+\d{1,3}) (?:\s|[-]|\ |\&\#8209;) ? )
areaCodeMobl: ((?:[\(]0?\d{2}[\)] | [\(]? 0?\d{2}(?:[\)]|[\)]?(?:\s|[-]|\ |\&\#8209;) ) ) (?:\s|[-]|\ |\&\#8209;) ?)
areaCodeLand: ((?:[\(]0?\d{1}[\)] | [\(]? 0\d{1}(?:[\)]|[\)]?(?:\s|[-]|\ |\&\#8209;) ) ) (?:\s|[-]|\ |\&\#8209;) ?)
serviceCode: (0[58]\d{2,2})
subscriberNumberMobile: (\d{3}(?:\s|[-]|\ |\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\ |\&\#8209;) \d{3,4})
subscriberNumberLand: (\d{3}(?:\s|[-]|\ |\&\#8209;) \d{4}|\d{4}(?:\s|[-]|\ |\&\#8209;) \d{3})
srve: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))[\(]? (0[58]\d{2,2}) (?:[\)]|[\)]?(?:\s|[-]|\ |\&\#8209;) ) (\d{3}(?:\s|[-]|\ |\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\ |\&\#8209;) \d{3,4}) (?!\s?[0-9])/xi
mobl: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))(?:(\+\d{1,3}) (?:\s|[-]|\ |\&\#8209;) ? ) ? ((?:[\(]0?\d{2}[\)] | [\(]? 0?\d{2}(?:[\)]|[\)]?(?:\s|[-]|\ |\&\#8209;) ) ) (?:\s|[-]|\ |\&\#8209;) ?) (\d{3}(?:\s|[-]|\ |\&\#8209;) \d{5}|\d{3,4}(?:\s|[-]|\ |\&\#8209;) \d{3,4}) (?!\s?[0-9])/xi
land: /(?:(?<![:=#0-9"'\]\)])|(?<![0-9\)]\s))(?:(?:(\+\d{1,3}) (?:\s|[-]|\ |\&\#8209;) ? ) ? ((?:[\(]0?\d{1}[\)] | [\(]? 0\d{1}(?:[\)]|[\)]?(?:\s|[-]|\ |\&\#8209;) ) ) (?:\s|[-]|\ |\&\#8209;) ?) )? (\d{3}(?:\s|[-]|\ |\&\#8209;) \d{4}|\d{4}(?:\s|[-]|\ |\&\#8209;) \d{3}) (?!\s?[0-9])/xi