Yes, but it is not recommended to do so. If you use RegEx to parse invalid HTML, expect some missing information depending on its level of irregularity.