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
Access 2007 - UNC paths in VBA to files on a server (2003)
class diagram,sequnce diagram
Restrict usernames to url encode-safe characters?
Getting an error when running classic asp app on windows 7 with iis7
Microsoft Dynamics CRM integration with Asterisk.
Delphi 2009 BDE Connection Help
Group Policy Creator Owners - Is there a way to add the ability to delete a policy created by someone else?
Generic Windows 7 TWAIN driver needed for Cannon multifunction printer/fax/scanner
results based on multiple rows in a join
vary title depending on base url in joomla