Java
String html_stripped = html.replaceAll("\\<.*?\\>", "");
PHP
strip_tags($html); // built-in PHP function to strip HTML and PHP tags
Javascript
var html_stripped = html.replace(/(<.*?>)/ig,"");
Never allow your career to be stagnant; whether you want a promotion, better compensation or a more fullfilling job, you’ve got the power to make it happen!
Java
String html_stripped = html.replaceAll("\\<.*?\\>", "");
PHP
strip_tags($html); // built-in PHP function to strip HTML and PHP tags
Javascript
var html_stripped = html.replace(/(<.*?>)/ig,"");
Comments are closed.
Great Work ! Short And Sweet Keep Going
Thanks for this – very nice little piece of code and very muchly appreciated!
100% works