Validate textbox to support numeric and OemMinus only?
how to validate textbox to support only numeric and OemMinus (-) keys?
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
nishant ranjanRank #4,961 · 317 reputationPosted Sep 14, 2013, 3:25 AM EDT
[-\d]*$
honar abubakr62 reputationPosted Sep 14, 2013, 3:34 AM EDT
Pavan RamamurthyRank #1,682 · 906 reputationPosted Sep 14, 2013, 3:38 AM EDT
Suthish NairRank #92 · 22.8K reputationPosted Sep 17, 2013, 12:11 AM EDT