Link to home
Start Free TrialLog in
Avatar of zgee
zgee

asked on

How to check for valid text input?

Can someone help me with a Perl code to check for:

1. Valid text input (e.g. a person's name)

2. Valid text and numbers input (e.g an address)

I would like to use this in my form-processor. Thanks!
Avatar of ozo
ozo
Flag of United States of America image

1. a person's name may have numbers
2. an address may have no numbers

Unless the address is known to be in a specific area with specific rules for what is valis and what is not,
I don't see how you could check this in any language.
ASKER CERTIFIED SOLUTION
Avatar of mitek
mitek

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial