You are here

constant PHONE_FR_REGEX in Phone 7

Same name and namespace in other branches
  1. 6 phone.fr.inc \PHONE_FR_REGEX

@file CCK Field for French phone numbers.

2 uses of PHONE_FR_REGEX
format_fr_phone_number in include/phone.fr.inc
Formatting for French Phone Numbers.
valid_fr_phone_number in include/phone.fr.inc
Verification for French Phone Numbers. According to http://www.itu.int/itudoc/itu-t/number/f/fra/70680.html (Released 2006/01/26, retrieved 2008/08/12)

File

include/phone.fr.inc, line 8
CCK Field for French phone numbers.

Code

define('PHONE_FR_REGEX', '/(\\+33|0)([1-9]\\d{8}|85\\d{7}|87[0-57-9]\\d{6})$/');