to check given Number has numeric and character ‘-’ present in this format
example: 910-123456,
820-123456
Is there is anyway to check,please help me out to solve this
to check given Number has numeric and character ‘-’ present in this format
example: 910-123456,
820-123456
Is there is anyway to check,please help me out to solve this
You want to check whether the string has numbers and ‘-’ right?
Yes you can do that in two ways…
or