Update a tag name along with its value
问题 I am trying to replace html tags with updated values. I had tried using JSOUP but could not work out a way yet. The functionality : if (webText.contains("a href")) { // Parse it into jsoup Document doc = Jsoup.parse(webText); // Create an array to tackle every type individually as wrap can // affect whole body types otherwises. Element[] array = new Element[doc.select("a").size()]; for (int i = 0; i < doc.select("a").size(); i++) { if (doc.select("a").get(i) != null) { array[i] = doc.select(