🏠 Home
Benchmark Hub
📊 All Benchmarks 🦖 Dinosaur v1 🦖 Dinosaur v2 ✅ To-Do List Applications 🎨 Creative Free Pages 🎯 FSACB - Ultimate Showcase 🌍 Translation Benchmark
Models
🏆 Top 10 Models 🆓 Free Models 📋 All Models ⚙️ Kilo Code
Resources
💬 Prompts Library 📖 AI Glossary 🔗 Useful Links
hard

Regex for Empty HTML Attributes

#regex #html #parsing #pattern-matching

Create a complex regular expression to identify tags with empty attribute values.

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.