Microsoft
Software
Hardware
Network
Question : use regexp in AS2 for phone validation
I use this function but i keep getting false with this input: +32 475 98 66 33
if(!ereg("/^\+\d{11}$/",th
is["_mobil
e"].text) && _root.errmsg == ""){
_root.errmsg = "Please enter a valid mobile number (eg. 32 475 12 34 56)";
}*/
Answer : use regexp in AS2 for phone validation
Try this:
1:
if(!ereg("^\+( ?[0-9]){11}", this["_mobile"].text) && _root.errmsg == "")
Random Solutions
IDE/PATA Seagate 3.5" Hard Drive Won't Turn On / Power On
read pdf from blob column write to file
Creating Views in Outlook using VBA
Roaming Profile
How do I show comments without showing tracked changes via code (C#)?
import excel data based on other cells data
High CPU utilization due to IP SNMP
How do i rename mapped drives and printers with the script i have in place
How set Access 2003 to be sure that a user name can login just one time
iPhone, how do I correctly pass data model object data between various view controllers without breaking MVC?