Click to See Complete Forum and Search --> : pattern problem


sanatpadhy
02-02-2005, 12:06 AM
Hi all,

Can any one tell me what this pattern means

"^\\d{5}(-\\d{4})?$"

Does this accepts 5numbers-4numbers?

Can anyone give me patter which accepts "1234-1234567891".

Waiting for prompt reply.

Thanks in advance.