OMG... that's awesome... I thought I tried everything including that... and
I did except I had the ^ in the front and that's why it failed. You know,
I'll get the hang of this yet...
BTW: www.planet-source-code.com search for "shawn bullock" in the .net or VB
section... you'll see my validator class. in my new version I'll have this
weekend I'll credit everyone for helping me on the particular RegEx's that
they helped me in.
Thanks,
Shawn
Quote:
> Regex.IsMatch(text, "([A-Y].*){2}")
> --
> Stephen Weatherford, VB .NET Team
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> | A#2ksdfaAfa0 should return true because at least 2 CAPS are in there...
> |
> | I don't care where they occur, as long as there are at least 2 of
them...
> |
> |
> |
> | Regex.IsMatch(text, "^([A-Z]?*){2}&")