Click here to Skip to main content
13,139,132 members (73,965 online)
Click here to Skip to main content

Tagged as

Stats

0 views
Posted 11 Nov 2012

I need a Regular expression for alphabet and space

, 13 Nov 2012
Try this..This is the javascript that i have used and its working.Try with thisfunction checkregex() { if (!form1.TextBox1.value.match(/^[a-zA-Z ]+$/) && form1.TextBox1.value != "") { form1.TextBox1.value = ""; form1.TextBox1.focus(); ...

Revisions


  

Compare Revision Minor Date Status Editor
3 - publicly available No 13-Nov-12 18:38 Available Divya RS
regex
2 No 11-Nov-12 19:44 Available Divya RS
regeular expression
1 No 11-Nov-12 18:35 Available Divya RS

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Divya RS
Software Developer
India India
No Biography provided

You may also be interested in...

Pro
Permalink | Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.170915.1 | Last Updated 14 Nov 2012
Article Copyright 2012 by Divya RS
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid