-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Verzonden: wo 22/10/2003 12:16
Aan: CF-Talk
CC:
Onderwerp: OT- Regular Expressions.
Hello All,
Are there any Regexp gurus out there
I'm trying to build an _expression_ to do the following.
Except 3 letters (in which there must be at least 1 I or Z), an optional
space and a numerical range 1-9999 (Irish Car registration plates)
So far I have got:
(([\D\S]{1})|(?=Z[\D\S]{1})|(?=I[\D\S]{1})){3}[\s]?[0-9]{1,4}
But that doesn't force the first component to have at least 1 I or Z and it
also appears to allow 2 characters.
My eyes are starting to cross over!! can anyone help ?
Cheers,
Darren
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

