title: Checking for multiple occurrence of character repeated or spread out in string with regex
body: <p>Having syntax trouble, I'm new to using regex. I'm coding in java.</p>
  
  <p>I need to check if an apostrophe is used more than once in a string. Multiple apostrophes can either be  consecutive or spread out over the string.</p>
  
  <p>For example: <code>Doesn't'work</code> or <code>Can''t</code></p>
  
  <p>I have an <code>if</code> statement, and I want it to evaluate to <code>true</code> if there is more than one apostrophe:</p>
  
  <pre><code>if(string.matches("\\'")){ 
  .
  .
  }
  </code></pre>
  
  <p>any help would be great!</p>