Regular Expressions 101

Community Patterns

Filter Tag Attributes

1

Regular Expression
PCRE (PHP <7.3)

/
(\w{2,})(\s|=)('|\")(#|\s|\w.*?('|\"))
/
ig

Description

This expression was created to nullify the HTML Tag Attributes

Submitted by Capt.Rooster - 8 years ago