Regular Expressions 101

Community Patterns

0

C/F temp unit

PCRE2 (PHP >=7.3)
me
Submitted by anonymous - a year ago
0

belcorp

PCRE2 (PHP >=7.3)
test
Submitted by anonymous - a year ago
0

Php

PCRE2 (PHP >=7.3)
Php
Submitted by Nickname - a year ago
0

find between

PCRE (PHP <7.3)
find between
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