David A. Black pisze: > Hi -- >> xxx765xxx should match >> vvv123vvv should be omitted > > Try this: /[[:alpha]]{3}(?!123)\d{3}[[:alpha:]]{3}/ [cut] it works! thanks! :) regards- shaman