Click here to Skip to main content
11,637,662 members (77,063 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as

I need a Regular expression for alphabet and space

, 13 Nov 2012 CPOL 0
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(); ...



Compare Revision Minor Date Status Editor
3 - publicly available No 14-Nov-12 0:38 Available Divya RS
2 No 12-Nov-12 1:44 Available Divya RS
regeular expression
1 No 12-Nov-12 0:35 Available Divya RS


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


About the Author

Divya RS
Software Developer
India India
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.150728.1 | Last Updated 14 Nov 2012
Article Copyright 2012 by Divya RS
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid