Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?<name><XMLname\s*.*?ipcode\s*=")(?<value>[^"]*)(?:")
/
gm

Description

https://regex101.com/r/0532n6/1 Attribute value within XML tag

Submitted by anonymous - 6 years ago