Regular Expressions 101

Community Patterns

Nth match

1

Regular Expression
PCRE (PHP <7.3)

/
(?:.*?\d{5}){3}.*?(\d{5})
/
s

Description

Matches the nth five digit number

Submitted by anonymous - 10 years ago