Gossamer Forum
Home : Products : DBMan : Customization :

valid_expr

Quote Reply
valid_expr
Hi !
Need help with data format.

I want that users enter the data in the writgh format. Example format "xx xxxx xxxx".

What characters should I put in the default.cfg under the valid_expr field ?

Thanks,

Sasa

Last edited by:

atomant: Aug 21, 2002, 4:03 AM
Quote Reply
Re: [atomant] valid_expr In reply to
What is x ?....is it a digit, a letter?
Quote Reply
Re: [PerlPod] valid_expr In reply to
it can be both
Quote Reply
Re: [atomant] valid_expr In reply to
^\w\w\s\w{4}\s\w{4}$

...should work then. That will allow a-z, 0-9 and underscores.
Quote Reply
Re: [PerlPod] valid_expr In reply to
Thanx, it works.Smile
Quote Reply
Re: [PerlPod2] valid_expr In reply to
Hi ,

If I want to do valid_expr for:

A123456789, that is, one alphabet plus 9 digital number, what is the valid_expr.

Thank you

Calvin

ps: you can send the answer to my mail address:calvin@europa.com.tw

Thank you .