View Single Post
  #6 (permalink)  
Old 04-19-04, 08:31 PM
xgab xgab is offline
Newbie Coder
 
Join Date: Jun 2003
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Skeleton Man
My appologies, I had windows open from both PHP and Perl forums so I didn't see which I was posting to.

Perl version:

Code:
$code = "This<HTML>should<head>be<foo>HTML<bar>free</b>";
$code =~ s/<.+?>//g;

print "Content-type: text/plain\n\n";
print $code;
Skeleton Man: Thank you so much for your help!!!! it worked!
Reply With Quote