Matt Warden wrote: > The way I'd format it: > > ^[dD]?[0-9]{1,7}[a-zA-Z]?$ > > But, is "0" really a valid part number? Thanks Matt. No, 0 isn't valid so to speak, but this is for a sql injection prevention. If 0 is entered, they would simply get an 'item not found' message.