Sunday, 16 December 2012

Regular expression for textbox accepting only alphabet and spaces only

Regular expression for textbox accepting only alphabet and spaces only:

^([a-zA-Z]+(_[a-zA-Z]+)*)(\s([a-zA-Z]+(_[a-zA-Z]+)*))*$

No comments:

Post a Comment