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 strings that NOT contains I or T, like
this: 00001372992KK

but I'm looking for a regExp that matches expression like this:

00001372992II
or
00001372992TT
or
00001372992KK

and NOT
00001372992IT

thanks for your help

Celestino

  ----- Original Message ----- 
  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 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 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 11111111111II or 11111111111NT but not
  11111111111IT

  there are someone that can help me to solve this problem?

  thanks a lot
  Celestino


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]


  ---------------------------------------------------------------------
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to