/([a-z]{3})[02-9][0-9]{2}\1/

Should work.

Jayanth

On Thu, Jul 3, 2008 at 3:21 PM, shaman <noone / nowhere.com> wrote:
> Hello-
>
> I need to match any string which contain:
>
> any 3 letters
> any 3 digits _but_not_123_
> any 3 letters
>
> so:
> xxx765xxx should match
> vvv123vvv should be omitted
>
> is it possible to write proper regular expression?
>
> Regards-
> shaman
>
>