Java simple solution.
```\n1. Explanation : Check for each possible parser, if matched than increment count for parser count otherwise add text.\n public String entityParser(String t
```\n1. Explanation : Check for each possible parser, if matched than increment count for parser count otherwise add text.\n public String entityParser(String text) {\n        StringBuilder sb = new StringBuilder();\n        int i = 0;\n        while(i<text.length()) {\n            if(isMatchingOrNot(text, "&quot;", i)) {\n                sb.append("\\"");\n                i+=6;\n            } else if(isMatchingOrNot(text, "&apos;", i)) {\n                sb.append("\'");\n                i+=6;\n            } else if(isMatchingOrNot(text, "&amp;", i)) {\n                sb.append("&");\n                i+=5;\n            } else if(isMatchingOrNot(text, "&gt;", i)) {\n                sb.append(">");\n                i+=4;\n            } else if(isMatchingOrNot(text, "&lt;", i)) {\n                sb.append("<");\n                i+=4;\n            } else if(isMatchingOrNot(text, "&frasl;",  i)) {\n                sb.append("/");\n                i+=7;\n            } else {\n                 sb.append(text.charAt(i++));\n            }\n        }\n      return sb.toString();  \n\t}\n    \n    private boolean isMatchingOrNot(String text, String pattern, int index) {\n        int i = index;\n        int j = 0;\n        while(i < text.length() && j < pattern.length() && text.charAt(i) == pattern.charAt(j)) {\n            i++;\n            j++;\n        } \n        return j == pattern.length();\n    }
['Java']