Posted by Squet34785 on 10/10/06 19:34
Rik wrote:
> What I'd do is the reverse, if it doesn't contain a single valid
> character (for instance, [a-z0-9] is required for a minimum of one),
> set to null. Very often it's more use searching for valids then
> searching for invalids, as the ways a certain can be invalid will
> often be more numerous then the way they can be valid.
Wow, that got it!
Thanks.
[Back to original message]
|