title: regular expression @ character in word boundary
body: <p>I am trying to extract words that starts with <code>@</code> from a <code>string</code></p>
  
  <p>I created a simple <code>regex</code> using <code>word boundary</code>. But it is not finding matches when I try to find match words starts with <code>@</code> character. I tried to escape character with <code>\</code> but no use of it. Somebody please help me</p>
  
  <pre><code>const str='@alice wants to meet @bob'
  console.log(str.match(/(\b@\S+\b)/ig))
  </code></pre>
  
  <p>Above code returns <code>null</code></p>