Regular Expressions 101

Community Patterns

replace only inner text without tag element

2

Regular Expression
PCRE (PHP <7.3)

/
(pa)(?!([^<]+)?>)
/
gm

Description

no description available

Submitted by A.K. Asik - 9 years ago