title: replace list of characters in a string
body: <p>I have a String which is the title of a webpage. so it can have &lt; > and other special charecters in them. </p>
  
  <p>I want to write a function that will take a string and replace a list of charecters. Trying to find the best way to do it. </p>
  
  <p>Shoud I use a list or array or enums to hold the list of special charecters or is there something in java that will already do this. </p>
  
  <pre><code>filterText(String text, List specialCharecters)
  
  filterText(String text, Array specialCharecters)
  
  filterText(String text, Enum specialCharecters)
  </code></pre>