I have a text file with HTML tags just like this:

<li><b>ABI/INFORM<br>
<li><b>Academic Search Premier</b><br>
<li><strong>Business Source Premier </strong><br>

How do I go about pulling the text only without the tags. This is what I am 
trying and it is not properly working:

while ( my $line = <IN> ) {  

        if($line =~ m/^<li>(<b>|<strong>|\t)(.*)(<|\t)/g)
        {
        print "Database = $2\n";
        }

Thanks.

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to