"Regular expression to check for referral codes"- Google Docs Editors Community
Names, email addresses, websites, referral codes: a short answer box accepts whatever people type, typos included, and you find out when you can't reach them or can't match a code. Google Forms can check the answer with Response validation, but the rules sit behind the question's menu, and anything beyond the basics means writing a regular expression. In Formfacade you open the question's validation and pick a rule: Email, URL, a minimum or maximum length, a word the answer must or must not contain, or a regular expression. People see your message until the answer fits.
Import your Google Form and follow the steps below.
Check the short answers in your Google Form.
Import your Google Form, add a short answer and pick a rule under Validation, such as Email, URL or Length, so you get answers in the format you need.