I think this should do it
"^[[:alnum:]]*([a-z][0-9]|[0-9][a-z])[[:alnum:]]*$"
Not tested
Pascal
> -----Original Message-----
> From: Charlie Griefer [mailto:[EMAIL PROTECTED]
> Sent: dinsdag 29 juni 2004 22:40
> To: CF-Talk
> Subject: More fun with regular expressions
>
> Hey regexp gurus...
>
> I'm trying to formulate an _expression_ that checks a string
> for at least one alpha and at least one numeric character,
> but -no- non-alphanumeric characters.
>
> Getting the alphanumeric combo I seem to have been able to
> do...but adding the 'no non-alphanumerics' into the
> _expression_ isn't working out for me.
>
> Much appreciation in advance.
>
> Charlie
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

