Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
%([a-zA-Z-_])*\s?\{[\s,]*\n(.*?)\n\}\s*\n
/
gs

Description

Return content of %abstract { ... } for file processing

Submitted by digitaldonkey - 9 years ago