Build, test, and debug regular expressions
This regex matches HTML italic text elements by capturing content between `<i></i>` or `<em></em>` tags. The backreference `\1` ensures opening and closing tags correspond correctly, while the non-greedy quantifier `.+?` captures minimal content between tags. Useful for extracting italic text from HTML or validating tag pairing in document parsing.