Regular Expressions 101

Community Patterns

points ||

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 - 3 years ago