Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
(?s)(<XMLname\s*.*ipcode=").*?(".*)$
/
gm

Description

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

Submitted by anonymous - 6 years ago