Posted By

satinfo30 on 03/05/12


javascript html

Viewed 4 times

strip html tags using javascript

/ Published in: JavaScript

this code is used to remove the html code in the given string

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

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.