title: Split DateTime string in javascript
body: <p>I have a Datetime string with unknown format, and I would like to split it to 2 different variables of Date &amp; Time but keep the same format. </p>
  
  <p>The format can contain several spaces so I can't split the string by spaces (for example: "MMMM dd, yyyy hh:mm:ss:SSS T").</p>
  
  <p>How can I do it?</p>