Date parsing issue in ELK Logstash with the custom Java timestamp format of logs

Thank you.It resolve my issue, can you please elaborate on the solution. i.e. explain what this regular expression do to the millisecond format?