title: Match exact word using regex in java
body: <p>I need a regular expression to match an exact word.</p>
  
  <p>For example:</p>
  
  <p>There is a string <code>"draft guidance allerg Excellence"</code> and I want to search <code>allerg</code> then I have written <code>\ballerg\b</code>. It gives me exact match. But when I pass string as <code>"draft guidance 12=allerg Excellence"</code> then it also return true, but this is wrong.</p>
  
  <p>Which regular expression do I need to match only exact words?</p>