title: How do I use Java Regex to find all repeating character sequences in a string?
body: <p>Parsing a random string looking for repeating sequences using Java and Regex.</p>
  
  <p>Consider strings:</p>
  
  <p>aaabbaaacccbb</p>
  
  <p>I'd like to find a regular expression that will find all the matches in the above string:</p>
  
  <pre><code>aaabbaaacccbb
  ^^^  ^^^
  
  aaabbaaacccbb
     ^^      ^^
  </code></pre>
  
  <p>What is the regex expression that will check a string for any repeating sequences of characters and return the groups of those repeating characters such that group 1 = aaa and group 2 = bb.  Also note that I've used an example string but any repeating characters are valid:
  RonRonJoeJoe
  ... ... ,, ,,...,,</p>