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
ADMT and sid mapping
Creating a list item from sharepoint custom workflow with Multiple values from another list
Java Binding ServerSocket
What is meant by "Audio experience"?
How do I transition mailboxes from exchange 2003 to exchange 2010 when both exchange servers are in different domains without causing an outage
simple mysql query
proc created on a particular day
How to run an executable packaged inside a JAR?
Install MS Visual Studio .NET/SQL Server and PHP/MySql on the same computer
custom ADM which will restrict and hide all drives except F on Windows 2008 Server