title: Most efficient way to use replace multiple words in a string
body: <p>At the moment I'm doing</p>
  
  <p>Example:</p>
  
  <pre><code>line.replaceAll(",","").replaceAll("cat","dog").replaceAll("football","rugby");
  </code></pre>
  
  <p>I think that it ugly. Not sure a better way to do this? Maybe loop through a hashmap?</p>
  
  <p>EDIT:</p>
  
  <p>By efficiency I mean better code style and flexibility</p>