Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
\.[0-9]{3}Z$
/
g

Description

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

Submitted by anonymous - 7 years ago