Click here to Skip to main content
16,004,761 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i am looking for a way to do regular expression with the field allow me to enter only numeric characters and all same numeric character not enter.
forexp:-1111111111
Posted
Comments
Sergey Alexandrovich Kryukov 10-Nov-13 13:07pm    
Why? This is easy, but probably you simply need to filter out characters from input field. Then do just that.
—SA
♥…ЯҠ…♥ 11-Nov-13 1:39am    
How many same characters(digit) do you want to accept? and should not allow carriage return key press?
[no name] 4-Jan-16 10:07am    
Did you tried this requirement so far?

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900