Hey all,
I'm looking for some help on coding a validationexpression of regular
expression validation control in C#.
The problem is simple..and it would seem the solution likely is as well.
But I haven't come up with it.
I'd like to validatie a textbox entry.
The entry must be 6 digits. And must NOT equal any of the following four
values : 110500, 101100, 109900, 101007.
I've tried a number of things to no avail. So I won't limit any of your
collective potential solutions with the novice suggestions I've tried.
Thanks in advance!!
Skinnerfritz - 20 Jun 2008 18:43 GMT
Use a negative look-ahead:
(?!110500)(?!101100)(?!109900)(?!101007)\d{6}
> Hey all,
>
[quoted text clipped - 13 lines]
>
> Thanks in advance!!