title: I want to remove the ": , PM " in the string "07:08:19PM". I want a result of 07 08 19
body: <p><strong>I am trying to use the split function to remove ": and PM" in the string.</strong></p>
  
  <pre><code>"07:45:19PM"
  </code></pre>
  
  <p><strong>I want to make 07:45:19PM into 07 45 19</strong></p>
  
  <pre><code>String s = "07:45:19PM"
  
  String heys[] = new String[10];
  heys = s.split(":PM");
  </code></pre>