html normalize regexps