#5785

sort
Member

Here are some more regexs for working with HTML.

; HTML entities (must come before #color regex or  may not select properly)
/&[#da-zA-Z]+;/

; HTML #color
/#[da-fA-F]+/

; CSS length value
/[-+]?d+(.d+)?(em|ex|pt|px|in|cm|mm|pc)b/

; html tags
|)?|
||