This regex keeps multiple attributes of given HTML tag. Given that required attributes are consective (in any order) and following the tag name.