Posted By

burnandbass on 11/03/11


Tagged

html strip


Versions (?)

Remove HTML tags


 / Published in: ActionScript 3
 

  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  

You need to login to post a comment.