Advertisement

01.16.2008 at 05:27PM PST, ID: 23089041
[x]
Attachment Details

Regex expression for non alpha numeric character

Asked by VD1234 in .NET, MS SQL Server, C# Programming Language

Tags: expression, regular, characters, numeric, regex

In a web application, in C#.NET I have a screen where the user enters a text in  a textbox, and this is used to build a column in the SQL Server. Basically I would like to validate if the entered string is a valid Sql server column name. I believe a string that contains only alpha numeric characters and/or  a underscore would be a valid column name.

How do I build this regular expression or is there any other way to do this validation?
Please help. Thanks in advance.

Start Free Trial
[+][-]01.16.2008 at 06:00PM PST, ID: 20678090

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]01.16.2008 at 06:45PM PST, ID: 20678313

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.

 
[+][-]01.16.2008 at 07:32PM PST, ID: 20678458

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: .NET, MS SQL Server, C# Programming Language
Tags: expression, regular, characters, numeric, regex
Sign Up Now!
Solution Provided By: dbbishop
Participating Experts: 4
Solution Grade: B
 
 
[+][-]01.16.2008 at 07:33PM PST, ID: 20678461

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]01.16.2008 at 07:44PM PST, ID: 20678499

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]01.16.2008 at 08:38PM PST, ID: 20678726

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]01.17.2008 at 05:02AM PST, ID: 20680737

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.

 
[+][-]01.17.2008 at 05:56AM PST, ID: 20681234

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]01.17.2008 at 05:57AM PST, ID: 20681240

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]01.17.2008 at 06:07AM PST, ID: 20681333

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]01.17.2008 at 06:10AM PST, ID: 20681357

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.

 
[+][-]01.17.2008 at 06:23AM PST, ID: 20681478

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.

 
[+][-]01.17.2008 at 06:34AM PST, ID: 20681625

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.

 
[+][-]01.17.2008 at 06:49AM PST, ID: 20681784

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.

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