Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^(?!\/\*)(?<prgName>[[:alnum:]]+)(?#this is text)[[:blank:]]+(?<lineNum>[[:digit:]]+)[[:blank:]]+.*RUNQRY[[:blank:]]+QRY\((?<qryName>[[:alnum:]]+)\)[[:blank:]]*(?<optQryFileStr>QRYFILE\(\((?<qryFile>[[:alnum:]]+)\))*
/
gim

Description

no description available

Submitted by anonymous - 4 years ago