title: Parse dynamic string in java
body: <p>I want to parse string like this:</p>
  
  <p><code>String str = 6,image micky.jpeg:7,image 02.jpeg:8,img3;</code></p>
  
  <p>in java. In this <code>6</code>,<code>7</code>,<code>8</code> are ids and there can be any number of ids in a dynamic string.</p>
  
  <p>I want to find the array of ids from this string how to do that.</p>