Regular Expressions 101

Community Patterns

4

import url image

Python
import url image
Submitted by bartimeys - 8 years ago
7

rsyslog test

PCRE (PHP <7.3)
global modifier
Submitted by dtmland - 9 years ago

RFC3339 DateTime

14

Regular Expression
Recommended
PCRE (PHP <7.3)

/
^((?:(\d{4}-\d{2}-\d{2})T(\d{2}:\d{2}:\d{2}(?:\.\d+)?))(Z|[\+-]\d{2}:\d{2})?)$
/
gm

Description

Loading markdown...
Submitted by anonymous - 8 years ago