title: Regular Expressions Detecting Xbox controls
body: <p>I was trying many patterns to detect B button alone, but the patterns didn't work, or they also found RB and LB.<br>
  I've tried:</p>
  
  <pre><code>/B(?!^LB$|^RB$)/g
  /^B$|^B,$|^ B,$/g
  /^B$|^B,$|^ B,$(?!^LB$|^RB$)/g
  </code></pre>
  
  <p>The pattern should detect B alone, near a comma and/or space.</p>