public String removeTags(String str)
    {
        //str.replaceAll("<+[^>]+>", "");
        int index = 0;
        String finalString = "";
        while(index < str.length())
        {
            if(str.charAt(index) == '<')
            {
                while(str.charAt(index) != '>')
                {
                    index++;
                }
                index++;

                finalString += '\n';
            }
            else
            {
                finalString += str.substring(index, index+1);
                index++;
            }
        }

        return finalString;
        //return str;
    }