Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?<=pts\. ;)(.*)(?= ;\D)|;(?<=Overall Score ;).*(?= ;)
/
gmi

Description

last sequence of numbers either starting with pts Pts or Overall Score

Submitted by anonymous - 4 years ago