How to make validation for a textbox that accept only comma(,) & digit in c# web application?
- by prateeksaluja20
Hello Experts,
I am working on a website.I am using C# 2008.I want to make a text box that accept only numbers & comma(,).
for example-919981424199,78848817711,47171111747 or there may be a single number like 919981424199.
I was able to do one thing My text box only containing number by using this Regular Expression validation.in its property-Validation Expression i wrote "[0-9]+".
This is working but now my requirement is to send bulk SMS & each number is separated by (,).
I tried a lot but not getting the ans.so please help me to sort out this problem.
Thanks in advance.