title: Splitting an input String
body: <p>I've the following Query String,</p>
  
  <pre><code>QUERY 192.168.1.0 0 2016-08-25 18:32 2016-08-26 18:31
  </code></pre>
  
  <p>I want to split it into 5 string objects such that <code>2016-08-25 18:32</code> and <code>2016-08-26 18:31</code> are parsed as one object.</p>
  
  <pre><code>String[] arr = str.split(" ");
  </code></pre>
  
  <p>Splits the String into 7 strings splitting the dates. I'm not sure how to do it using regular expressions using Java.
  Any help appreciated.</p>