Menu

Remove all HTML

2006-12-29
2012-11-13
  • Nobody/Anonymous

    How to make a reg-expression to remove all the html code? i tried just a <(.*)> but it obviously matches too too much, and i don't see any way to limit this in the documentation. Help!

     
    • Nobody/Anonymous

      This: <[^>]*> seems to work.
      There would be a problem only if you have something like this : <tagname attr=">"> wich would be replaced by ">