title: How to remove timestamp using regex from a date string in javascript
body: <p>New to regex.</p>
  
  <p>Need regular expression to match strings like <code>T17:44:24Z</code> from parent strings like <code>2015-12-22T17:44:24Z</code> using javascript regex.</p>
  
  <p>Once match is found will replace it with null or empty space.</p>
  
  <p>To be specific i am trying to remove the time stamp from date string and obtain only date part.</p>
  
  <p>Please help me in this</p>