This regular expression can be used to verify html (by removing the anchor before pair), as well as extract elements of html (specify elements before the pair).
pair