Regular Expressions 101

Community Patterns

1

guto

PCRE (PHP <7.3)
gutoregex
Submitted by guto - 8 years ago
0

test

PCRE (PHP <7.3)
no description available
Submitted by anonymous - 8 years ago
0

year match

PCRE (PHP <7.3)
2010-2012
Submitted by tazbir - 8 years ago
1

regex

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

yous

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

foreach

2

Regular Expression
PCRE (PHP <7.3)

/
{[ \t]*foreach[ \t]*\$(_*[A-Za-z]+[A-Za-z0-9_]*)[ \t]*as[ \t]*\$(_*[A-Za-z]+[A-Za-z0-9_]*)(?:[ \t]=>[ \t]*\$(_*[A-Za-z]+[A-Za-z0-9_]*))?[ \t]*}(.*){[ \t]*\/foreach[ \t]*}
/
Uis

Description

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