i would like a regular expression that checks input text for validity with with following:
may contain lowercase
may contain upper case
may contain space
may not contain anything else.
i want to use this inside my php code.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you mean only the basic latin alphabet and only literal spaces (not tabs etc.):
/^[a-zA-Z ]*\z/