Regular Expressions 101

Community Patterns

Find numbers prefixed by "fieldid=". Retain numbers only.

0

Regular Expression
PCRE (PHP <7.3)

/
(.*?)(fieldid=)*(')*(\d*)(')*
/
gm

Description

Ignore lines without the "fieldid=" pattern.

Submitted by anonymous - 4 years ago