Community Patterns

Community Library Entry

0

Regular Expression
Created·2017-11-06 11:33
Flavor·ECMAScript (JavaScript)

/
\.[0-9]{3}Z$
/
g
Open regex in editor

Description

e.g. convert new Date().toISOString(); // == "2016-11-21T08:00:00.000Z" into "2016-11-21T08:00:00"

Submitted by anonymous