HighDots Forums  

Re: is my HTML tag stripper up to par?

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Re: is my HTML tag stripper up to par? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
bd
 
Posts: n/a

Default Re: is my HTML tag stripper up to par? - 08-24-2003 , 09:09 PM






Dan Jacobson wrote:

Quote:
Is my HTML tag stripper up to par?
$ cat striptag
#!/usr/bin/perl -w
#usage example: striptag font div < file.html
read( STDIN, $_, -s STDIN );
foreach my $tag (@ARGV) { s@</?$tag.*?>@@sig }
print;
perldoc -q "How do I remove HTML from a string?"

--
This fortune is inoperative. Please try another.



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.