OT: stuck on regex

2005-06-16 Thread Simon Cornelius P . Umacob
Rebecca, I think this is the regular expression for your desired pattern: ^[0-9]{1,5}(-[0-9]{3})?$ I hope this helps. Cheers, [ simon.cpu ] >I'm having a heck of a time with this... trying to build a javascript >regExp for the following pattern: >[1-5 digits] [optional hyphen and 3 digit

OT: stuck on regex

2005-06-15 Thread Rebecca Wells
I'm having a heck of a time with this... trying to build a javascript regExp for the following pattern: [1-5 digits] [optional hyphen and 3 digits] If anyone can help, I'd give you a big hug. ~| Find out how CFTicket can increase