title: "or" in regex, how to find one value or the other
body: <p>How would you search for one value or another using regex:</p>
  
  <p>For example:</p>
  
  <pre><code>[video= SOMETHING NOT IMPORTANT]
  [image= SOMETHING NOT IMPORTANT]
  </code></pre>
  
  <p>So either look for video or image:</p>
  
  <pre><code>/\[video|image=([^\]]+)\]/i
  </code></pre>
  
  <p>How would this be done?</p>