constant PHONE_HU_REGEX in Phone 7
@file CCK Field for Hungarian phone numbers.
2 uses of PHONE_HU_REGEX
- format_hu_phone_number in include/
phone.hu.inc - Convert a valid Hungarian phone number into standard (+36) ..... format
- valid_hu_phone_number in include/
phone.hu.inc - Verifies that $phonenumber is a valid nine-digit Hungarian phone number
File
- include/
phone.hu.inc, line 8 - CCK Field for Hungarian phone numbers.
Code
define('PHONE_HU_REGEX', "/^(\\+36|06|)[\\s.-]?([0-9]{1,2})[\\s.-]?([0-9]{2,3})[\\s.-]?([0-9]{2,4})\$/");