Regular Expressions 101

Community Patterns

1

match url

PCRE (PHP <7.3)
no description available
Submitted by jakub - 7 years ago
1

test

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 7 years ago
1

bb-*

PCRE (PHP <7.3)
aaa
Submitted by wyj - 7 years ago

ISO8601 Date Interval

1

Regular Expression
PCRE (PHP <7.3)

/
^(R\d*\/)?P(\d+([\.,]\d+)?Y)?(\d+([\.,]\d+)?M)?(\d+([\.,]\d+)?W)?(\d+([\.,]\d+)?D)?((?!.$)T(\d+([\.,]\d+)?H)?(\d+([\.,]\d+)?M)?(\d+(\.\d+)?S)?)?$
/

Description

Loading markdown...
Submitted by Tobias Marstaller - 7 years ago