/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?php $EXP_num = "^[0-9]+$"; $EXP_num_fixe = "^0262([0-9]){6}$"; $EXP_num_portable = "^069(2|3)([0-9]){6}$"; $EXP_cp = "^974([0-9]){2}$"; $EXP_mail = "^([a-z0-9._-])+@([a-z0-9.-])+(.)([a-z]){2,4}$"; $EXP_nom = "^[a-zA-Zéçèà êëîïôöûüâäÉÀÈËËÃÎÖÔÛÜÄÂ'-][a-zA-Zéçèà êëîïôöûüâäÉÀÈËËÃÎÖÔÛÜÄÂ' -]{2,50}$"; $EXP_date = "^[0-9]{2}/[0-9]{2}/[0-9]{4}$"; $EXP_url = "^http://"; $EXP_alphanum = "^[a-zA-Z0-9_-]$"; ?>