Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
(?:Notice|Deprecated):\s+(.+) in .+? on line (\d+)
/
gm

Description

get the notice or deprecated from php on your content

Submitted by Guss - 9 years ago