# Script name: srtiptag.pl # Purpose: Strips html a-href tags from a document # Author: keyDemun # http://c0depalace.netfirms.com/cgi-bin/cforum.pl print "STRIPPING A-HREF TAGS. PLEASE WAIT..\n"; open(FO,"@ARGV[0]") or print "File not found!\n"; while() { $fc=$fc.$_; } close(FO); for($i=0;$i") { @hRef[$cnt]=@hRef[$cnt].substr($fc,$i,1); $i++; } @hRef[$cnt]=@hRef[$cnt].">"; $cnt++; } } } for($j=0;$j<$cnt;$j++) { print "\nHREF TAG-->[$j]-->@hRef[$j]\n\n"; }