Comment Comment by danlitt You can't parse [X]HTML with regex. Because HTML can't be parsed by regex. Regex is not a tool that can be used to correctly parse HTML. parent danlitt 3 months ago