Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
Created·2015-05-12 16:32
Flavor·PCRE (Legacy)

/
{[ \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
Open regex in editor

Description

no description available

Submitted by anonymous