
3 Mar
2010
3 Mar
'10
2:23 p.m.
Never mind, I used if (!match.Success || txtAccountNum.Text.Length != 10) throw Exception else Endelea() On 3 March 2010 14:14, Simon Mbuthia <simon.mbuthia@gmail.com> wrote:
Hi guys,
I'm having a little problem here, I want to validate an entry in a text field using the regex pattern "\d{10}". the said field should have exactly 10 digits, but my application is accepting all entries matching 10+ digits :-( What should I do?
-- Everyone's days are numbered. It's called a calendar
-- Everyone's days are numbered. It's called a calendar