Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE2 (PHP >=7.3)

/
<bean id=.*processName"\s*value="([a-zA-Z0-9\.]*).*processVersion"\s*value="([0-9\.]*)".*<\/bean>
/
gm

Description

Extract pdc name and version from ApplicationContext-pdc.xml

Submitted by anonymous - 3 years ago