Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
((?<func>latest|diff|avg|median|total|rollingmedian|rollingavg)\((?<par>[^(),]*),(?<uom>[^(),]*)(?:,(?<sp>[^()]*|))?\))|((?<func1>diffdays)\((?<par1>[^(),]*)(?:,(?<sp1>[^()]*|))?\))+
/
g

Description

no description available

Submitted by anonymous - 7 years ago