| | |
Regex
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Apr 2008
Posts: 75
Reputation:
Solved Threads: 0
Can somebody help me in making me understand the regex function-
What these characters means
/^(\w+[\-\.])*\w+@(\w+\.)+[A-Za-z]+$/
What these characters means
/^(\w+[\-\.])*\w+@(\w+\.)+[A-Za-z]+$/
ASP.NET Syntax (Toggle Plain Text)
function validate(input) { var email =/^(\w+[\-\.])*\w+@(\w+\.)+[A-Za-z]+$/; if(email.test(input)) { return true; } else { alert('invalid email id'); return false; } }
![]() |
Similar Threads
- Matching multiple href="Something.aspx" using RegEx (ASP.NET)
- regex question (Perl)
- regex (boost) (C++)
- Getting the start / end of string in regex through match objects (Python)
- Regex in Java (Java)
- Regex for password (Shell Scripting)
- Regex in C++ (C++)
- help with regex...and marking up text in JTextpane with html (Java)
Other Threads in the ASP.NET Forum
- Previous Thread: ASP.NET Zedgraph.Web How to remove duplicate legend?
- Next Thread: need suggestion
Views: 243 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for ASP.NET
.net 2.0 activexcontrol ajax alltypeofvideos anathor appliances application asp asp.net bc30451 beginner box browser button c# cac checkbox commonfunctions complex dataaccesslayer database datagridview datagridviewcheckbox datalist development dgv dialog dropdownlist dynamically edit editing expose feedback fileuploader fill flash form formatdecimal formview google gridview gudi iis image javascript list listbox login microsoft migration mouse mssql news numerical opera panelmasterpagebuttoncontrols parent problem project radio redirect registration relationaldatabases reportemail response.redirect richtextbox rows save schoolproject search security select session sessionvariables silverlight smartcard smoobjects software sql-server sqlserver2005 suse textbox tracking treeview unauthorized validatedate validation vb.net video videos vista visualstudio web webapplications webdevelopemnt webprogramming webservice xsl youareanotmemberofthedebuggerusers





