hi all, i am new to perl and processing some strings like the following:
<A HREF="#fin14448_7">Notes to Consolidated Financial Statements</A></FONT></TD>
I want to delete all the stuff inside < and > (including '<' and '>')
so the results after the sub will be "Notes to Consolidated Financial Statements"
i used the algorithm 's/<.*>//g' to do the substitute, however, it drops the whole line (essentially it's deleting anything between the first '<' and the last '>').
anyone can help with the issue? Thanks a lot for any help.
<A HREF="#fin14448_7">Notes to Consolidated Financial Statements</A></FONT></TD>
I want to delete all the stuff inside < and > (including '<' and '>')
so the results after the sub will be "Notes to Consolidated Financial Statements"
i used the algorithm 's/<.*>//g' to do the substitute, however, it drops the whole line (essentially it's deleting anything between the first '<' and the last '>').
anyone can help with the issue? Thanks a lot for any help.