title: How can I find repeated characters with a regex in Java?
body: <p>Can anyone give me a Java regex to identify repeated characters in a string?  I am only looking for characters that are repeated immediately and they can be letters or digits.</p>
  <h3>Example:</h3>
  <blockquote>
  <p>abccde &lt;- looking for this (immediately repeating c's)</p>
  <p>abcdce &lt;- not this (c's seperated by another character)</p>
  </blockquote>