Python code using regex
```\nentities = [(\'"\', \'\"\'),  (\''\', \'\\'\'), (\'>\', \'>\'), (\'<\', \'<\'), (\'⁄\', \'/\'),(\'&\', \'&\')]\n                  \n for pat, repl in entit
```\nentities = [(\'&quot;\', \'\\"\'),  (\'&apos;\', \'\\\'\'), (\'&gt;\', \'>\'), (\'&lt;\', \'<\'), (\'&frasl;\', \'/\'),(\'&amp;\', \'&\')]\n                  \n for pat, repl in entities:\n\t text = re.sub(pat, repl,text)\n           \n return text
['Python3']