Regular Expression for integer string

Markhas

New Member
I need to check the following integer input sequences:
  • 23 = true
  • 23,50 = true
  • 50-100 = true
  • 34,,90 = false
  • 34,-90 = false
  • 34--90 = false
how can i check it in c#
 
Back
Top