Regular Expressions 101

Community Library Entry

1

Regular Expression
PCRE (PHP <7.3)

/
on\w+\s?=\s?+("|')?[^"'>]*("|')?(?=>)
/
g

Description

Cut events from tags

Submitted by Romario5 - 8 years ago