Domanda di colloquio di Wallet Hub

Write the Java code to remove all HTML tags from a string.

Risposte di colloquio

Anonimo

10 nov 2017

public static String removeHtmlTags(Strign s){ string str = s.replaceAll("", ""); return str; }

Anonimo

7 apr 2018

String removeHtmlTags(String s){ return s.replaceAll("]>", ""); }