title: How do I make a certain portion of a regular expression optional?
body: <p>How do I make certain portion of a regular expression optional? For example:</p>
  
  <pre><code>\d* [\\s\\w*?]
  </code></pre>
  
  <p>...where the expression inside the brackets is optional.</p>