* Rui Duarte wrote:
> "\\d{11}([A-HJ-Z][A-Z]|[A-Z][A-SU-Z])"
Alternatively you can use negative lookahead:
\d{11}(?!IT)
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addition
Yes, it's rigtht!!! :)
Thanks a lot
Celestino
- Original Message -
From: Rui Duarte
To: Regexp Users List
Sent: Wednesday, September 10, 2003 11:25 AM
Subject: RE: problem with regexp
Of course ...
And this one ?
"\\d{11}([A-HJ-Z][A-Z]|[A-Z][A-SU-
Of course ...
And this one ?
"\\d{11}([A-HJ-Z][A-Z]|[A-Z][A-SU-Z])"
Rui
-Original Message-
From: Celestino Bellone [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 10 de Setembro de 2003 10:07
To: Regexp Users List
Subject: Re: problem with regexp
this expression is valid for st
From: Rui Duarte
To: Regexp Users List ; Celestino Bellone
Sent: Wednesday, September 10, 2003 11:01 AM
Subject: RE: problem with regexp
Hi.
"\d{11}[A-HJ-Z][A-SU-Z]" does what you want ?
Rui Duarte
-Original Message-
From: Celestino Bellone [mailto:[EMAIL PRO
Hi.
"\d{11}[A-HJ-Z][A-SU-Z]" does what you want ?
Rui Duarte
-Original Message-
From: Celestino Bellone [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 10 de Setembro de 2003 9:40
To: [EMAIL PROTECTED]
Subject: problem with regexp
Hi everybody,
I'm looking for a regular
Hi everybody,
I'm looking for a regular expression that matches strings like this:
12345678910AA
for the 'numeric block' the best way to write this is:
\d{11}
but, for the 'alphabetical block' there's a 'little'(?) problem...
this block must not be equals to IT,
so that the regExp must matches