Fixed regular expressions to only match a single html tag.