On 2/14/07, Brian Cummiskey <brian at hondaswap.com> wrote: > Hi All, > > I'm stuck on a regex problem. I need to validate some item numbers. > They are anywhere from 1 to 10 characters long, alpha, numeric, spaces, > -'s and _'s only. ^[a-zA-Z0-9_ -]{1,10}$ -- Matt Warden Cleveland, OH, USA http://mattwarden.com This email proudly and graciously contributes to entropy.