Regular Expressions 101

Community Patterns

0

parse dpserver url

Golang
parse dpserver url
Submitted by qianshen - 2 years ago
0

chia plot

Golang
chia plot
Submitted by temple - 2 years ago

Date String ISO Pattern

0

Regular Expression
Golang

`
^(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))$
`
gm

Description

Loading markdown...
Submitted by Lucas Morais - a year ago