Top

strip html


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Jul 16, 2009
Last Updated  Jul 16, 2009
Tags  html  strip  tags 

Introduction

This little thing strips html from a string

Usage:
$striphtml(html goes here)

Grab the Code

alias striphtml {
  noop $regsub($htmlencode($1-),/(<(?:.+?)>)/g,$null,%string)
  return %string
}

Comments

  (1)  RSS
Jethro_
Comments: 438
 
mIRC Snippet:  strip html
Posted on Jul 16, 2009 11:37 am
You forgot to include your $htmlencode alias here. Or just $1- will do.

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom