Remove HTML tags


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. string.replace(/<.*?>/g, "")
  2.  
  3. // Instead of "string" have to be your variable:
  4. // var s:String = "<p>Html paragraph</p>"
  5. // trace( s.replace(/<.*?>/g, "") )

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.