Regular Expressions 101

Community Patterns

0

INI values

PCRE2 (PHP >=7.3)
not done yet
Submitted by anonymous - a year ago
0

Time in hh:mm:ss

PCRE (PHP <7.3)
19h32min16s
Submitted by anonymous - a year ago
0

Postfix

PCRE2 (PHP >=7.3)
Add DR to end of line
Submitted by anonymous - a year ago

Asadasdsd

1

Regular Expression
PCRE (PHP <7.3)

@
\{ ( (?:[\-#=\@!%$*+?])? \w [\w\-\.\d]* ) (?#1 param name) ( \? )? (?#2 optional) (?: <(.*?)?\|(.*?)?> (?#3 behind)(?#4 after) )? (?: :( [\w&] [\w\.\-\d\s]* (?:\[\])? ) (?#5 type) (?: \( ([^{]+?) (?#6 type args) \) (?: \( ([^\}]) (?#7 type args separator) \) )? )? )? (?: :\( ([^{]+) (?#8 pattern) \) )? (?: =( [^}]* ) (?#9 default value) )? \} | ( \{? [^{]+ ) (?#10 plain text)
@
x

Description

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