Wie man HTML in einen Winkel in Text umwandelt

text.replace(/<[^>]*>/g, '');
 Run code snippet
souheyla changuel