Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Help with Regular Expression validation

Reply
Thread Tools

Help with Regular Expression validation

 
 
Cliff Harris
Guest
Posts: n/a
 
      04-13-2004
this should do it for you:

^\d{6,7}$

HTH,
-Cliff

"ra294" <(E-Mail Removed)> wrote in message
news:uz9lb%(E-Mail Removed)...
> I want to use Regular Expression validation control to validate that the
> text that was entered into a text box includes only numbers (0-9) and it's
> size will be 6 or 7 chars only.
> What's the regular expression I have to use ?
>
> Thanks for your time
> http://www.velocityreviews.com/forums/(E-Mail Removed)
>
>
>
>



 
Reply With Quote
 
 
 
 
ra294
Guest
Posts: n/a
 
      04-13-2004
I want to use Regular Expression validation control to validate that the
text that was entered into a text box includes only numbers (0-9) and it's
size will be 6 or 7 chars only.
What's the regular expression I have to use ?

Thanks for your time
(E-Mail Removed)




 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Seek xpath expression where an attribute name is a regular expression GIMME XML 3 12-29-2008 03:11 PM
C/C++ language proposal: Change the 'case expression' from "integral constant-expression" to "integral expression" Adem C++ 42 11-04-2008 12:39 PM
Matching abitrary expression in a regular expression =?iso-8859-1?B?bW9vcJk=?= Java 8 12-02-2005 12:51 AM
Help with Regular Expression validation Cliff Harris ASP .Net Web Controls 1 04-13-2004 02:58 PM
Dynamically changing the regular expression of Regular Expression validator VSK ASP .Net 2 08-24-2003 02:47 PM



Advertisments