Regular Expressions 101

Library entries

Matching HTML attributes

Vote

-2

Regular Expression
javascript

/
([<\w\-]+(?:=)?(?:"|')?[\w\-]+(?:"|')?)
/
gim

Description

Loading markdown...
Submitted by anonymous - 7 years ago