constant PHONE_PA_REGEX in Phone 7
Same name and namespace in other branches
- 6 phone.pa.inc \PHONE_PA_REGEX
2 uses of PHONE_PA_REGEX
- format_pa_phone_number in include/
phone.pa.inc - Convert a valid Panamenian phone number into standard (+507) 260-4324 format
- valid_pa_phone_number in include/
phone.pa.inc - Verifies that $phonenumber is a valid nine-digit Panamanian phone number
File
- include/
phone.pa.inc, line 25 - CCK field for Panamanian phone numbers
Code
define('PHONE_PA_REGEX', '/((00|\\+)?[0-9]{3}[\\s])?([0-9]{3,4})[\\s|-]?([0-9]{4})/');