Allow Alphabets and Numbers (AlphaNumeric) with Comma and Underscore Special characters using RegularExpression in ASP.Net

Last Reply on Nov 14, 2014 05:45 AM By Azim

Posted on Nov 14, 2014 05:38 AM

Hi,

 

I need to allow only alphanumeric characters and only comma and underscore to be entered in the textbox.

Could anyone please let me know how to do this.

 

Thanks!

You are viewing reply posted by: Andrea on Nov 14, 2014 05:38 AM.
Posted on Nov 14, 2014 05:38 AM
Hi @info4me,
Please try the following

How to allow only numbers (Numeric TextBox) in ASP.Net MVC using JavaScript

It might help you.

Cheers Andrea.