title: Removing words containing expression?
body: <p>I am looking to remove any words containing "oil". I thought <code>\b</code> grabs any word containing "oil" but seems to only replace the word itself:</p>
  
  <pre><code>String str = "foil boil oil toil hello";
  str = str.replaceAll("\\boil\\b", "");
  </code></pre>
  
  <p>Output:</p>
  
  <blockquote>
    <p>foil boil toil hello</p>
  </blockquote>
  
  <p>Desired output:</p>
  
  <blockquote>
    <p>hello</p>
  </blockquote>