オーストラリアかな?
AND(
NOT(ISBLANK(MobilePhone)) ,
NOT(REGEX( MobilePhone ,"(^ [+] 614[0-9]{2}(| )[0-9]{3}(| )[0-9]{3}$)|(^04[0-9]{2}(| )[0-9]{3}(| )[0-9]{3}$)"))
)
オーストラリア形式を補完する数式
IF(LEFT(Phone,4) = "+610","+61"&RIGHT(Phone,LEN(Phone)-4),
IF(LEFT(Phone,3) = "610","+61"&RIGHT(Phone,LEN(Phone)-3),
IF(LEFT(Phone,2) = "61","+61"&RIGHT(Phone,LEN(Phone)-2),
Phone)))
スイス
AND(
NOT(ISBLANK(Phone)) ,
NOT(REGEX(Phone, "[+]{1}41[0-9]{9}"))
)
RegEx for phone number format "+1 ##########"
What's the regular expression that validates the phone number format of '+1', followed by a space, followed by 10 consecutive digits?
AND(
NOT(ISBLANK(Phone)) ,
NOT(REGEX(Phone, "[+]{1}1 [0-9]{10}"))
)
理解できない
\d : 半角文字
\D : 半角文字以外
AND(
NOT(ISBLANK( Phone )),
NOT(REGEX( Phone , "\\D*?(\\d\\D*?){10}"))
)