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
Overclock my Phenom II X4 945 Processor
Cpanel bcked up mails
Ms Access how do I to run a query based off a table
tell if an item value has changed
Moving SQL Server 2005 databases to a larger storage area network (SAN) disk
grep lines from N days back
IE 7 & 8 Javascript error
Which firewall to choose?
SQLPLUS questio
IIS security question