Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^Nedbank: (?<type>[\w\s]+) of R(?<amt>\d+\.\d{2}) [\w\s]+ acc \*\*(?<acct>\d+). Avail bal R(?<bal>\d+\.\d{2}) at (?<time>\d{2}:\d{2}) on (?<date>\d{1,2}\w{3}\d{2})\. Ref: (?<ref>.*)$
/
gm

Description

no description available

Submitted by anonymous - 6 years ago