Posted By

punuhan on 07/13/11


javascript srting

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Removing the html tags in string in javascript

 / Published in: JavaScript

Removes the html tags in the string in javascript.

  1. var att = str.replace(/(<([^>]+)>)/ig,"");

Report this snippet  

You need to login to post a comment.