title: How to extract only number from a string in java?
body: <p>Supposedly I have a string that contains: <code>hello 14:12</code>.</p>
  
  <p>Now I want to extract only the number and have two separate value in two variable like this: first_num value should be int i.e. first_num = 14 and the second variable should store the number after the colon (<code>:</code>) i.e. second_num = 12.</p>