-
December 7th, 2010, 03:18 AM
#1
Regular Expression for one embedded space and forced upper cases?
HI!
I want to write a regular expression which may enforce input in upper case and one embedded space e.g I want to give me input as "M23 9RQ". So please help me the regular expression for this input or some other better solution like customer validator etc.
Thanks
-
December 8th, 2010, 01:39 AM
#2
Re: Regular Expression for one embedded space and forced upper cases?
From what you mention - then off the top of my head, I'd say something along this line:
Code:
[A-Z]([A-Z ]+[A-Z])?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|