Advertisement

05.13.2008 at 02:33AM PDT, ID: 23397096
[x]
Attachment Details

Regular Expression for at least one alphanumeric character and no longer than 500 characters

Asked by Steven_Prescott in Regular Expressions, Programming for ASP.NET

Tags: c# asp.net, IE6 VS2005

I have a text box that needs to be limited to 500 characters and have at least one alphanumeric character in it before it is submitted.
I already have it limited to 500 characters using the following RE ^[\w\W]{0,500}$
Any help adding the RE to do the "at least one alphanumberic character" would be very much appreciatedStart Free Trial
[+][-]05.13.2008 at 02:47AM PDT, ID: 21553451

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.13.2008 at 05:06AM PDT, ID: 21554160

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.13.2008 at 05:12AM PDT, ID: 21554191

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Regular Expressions, Programming for ASP.NET
Tags: c# asp.net, IE6 VS2005
Sign Up Now!
Solution Provided By: dev2dev
Participating Experts: 3
Solution Grade: A
 
 
[+][-]05.13.2008 at 07:45AM PDT, ID: 21555546

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.13.2008 at 09:32AM PDT, ID: 21556746

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628