title: Regex to extract date and time from log
body: <pre><code>echo "INFO|2016-11-06 18:44:07.577|G|SOME_THING_IN_CAPS|/something/pages1.html" | \
  sed -rn "s/(.*\|)([0-9]{4}-[0-9]{2}-[0-9]{2})\ ([0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3})\2\3/p"
  </code></pre>
  
  <p>Hi Guys, </p>
  
  <p>i am trying to extract the date and time from the line above. Can you tell me what is missing? </p>
  
  <p>I get this error, not sure how to troubleshoot it</p>
  
  <pre><code>sed: -e expression #1, char 81: unterminated `s' command
  </code></pre>