Regular Expressions 101

Community Patterns

Extract ids (values) with regex

1

Regular Expression
PCRE (PHP <7.3)

/
\[[\w\s]*id="(\d+)
/
gm

Description

no description available

Submitted by A. K. Asik - 9 years ago