hard
Regex for Empty HTML Attributes
Create a complex regular expression to identify tags with empty attribute values.
📝 Prompt Inhoud
Construct a regular expression that captures all HTML tags containing attributes with empty values, specifically looking for instances where the attribute assignment is attr="". Ensure the regex accounts for varying whitespace around the equals sign and handles multiple attributes within the same tag.