1
Hi,
Based on your requirement you can use the following Regex Code.
- Regex regex = new Regex(@"[^0-9\\(,._)\-\a-zA-Z]");
Please check this demo :
http://regexr.com/3ebkn
1
Hi,
You can use the code regex inside the textBox1_TextChanged event in Textbox Control In Asp.net.
1
Hi,
Please check the following reference :
http://stackoverflow.com/questions/12607087/only-allow-specific-characters-in-textbox
0
<h4><a data-userid="2a6dc5" href="http://www.c-sharpcorner.com/members/rajeesh-menoth">Rajeesh Menoth</a></h4><div><h4><a data-userid="895c53" href="http://www.c-sharpcorner.com/members/bikesh-srivastava2">Bikesh Srivastava</a></h4><div><h4><a data-userid="9088f9" href="http://www.c-sharpcorner.com/members/midhun-tp">Midhun T P</a></h4>Thanks To All..</div></div>
0
how to use code behind.without using scripting