title: Regular expression match in javascript on a list of items
body: <p>How to check in javascript if my string contains any of the characters <code>~</code> and <code>’</code>.</p>
  
  <p>Is there a way to achieve this using regular expression match test, rather than writing a for loop to check if my string contains any of there characters using indexOf()</p>