Python3 faster than 98%
Replace &  last cuase its been used in all other patterns\n\nclass Solution:\n    def entityParser(self, text: str) -> str:\n        text = text.replace(\'&quot
Replace `&`  last cuase its been used in all other patterns\n```\nclass Solution:\n    def entityParser(self, text: str) -> str:\n        text = text.replace(\'&quot;\', "\\"")\n        text = text.replace(\'&apos;\', "\\\'")\n        text = text.replace(\'&gt;\', ">")\n        text = text.replace(\'&lt;\', "<")\n        text = text.replace(\'&frasl;\', "/")\n        text = text.replace(\'&amp;\', "&")\n        return text\n```
[]