title: Discord tag regular expression validation Google Forms
body: <p>Is there any way you can use a regular expression in Google Forms to check if their input matches a pattern for a Discord tag? I already tried this: <code>#[0-9]{4}$</code>, but that's only valid for input that starts with a '#' followed by 4 numeric digits. I know this regex (next line) works for Discord tags, maybe there is a way to convert that to a regular expression in Google Forms?</p>
  <pre class="lang-regex prettyprint-override"><code>/^((.+?)#\d{4})/
  </code></pre>
  <p>A Discord tag is constructed by their username followed by an '#' and then finished with 4 numbers. A few examples are:</p>
  <ul>
  <li>Anna#1234</li>
  <li>Bob#5601</li>
  <li>Ryan Peterson#5640</li>
  </ul>
  <p>Thanks in advance!</p>