I have a string as shown below. I want to extract only the plain text and assign it to a scalar using HTML::Parser. How can this be done?
$string = '<style>table{border-collapse: collapse;margin-left: 1cm;fon +t-Family: courier;width: 60%}.hoverTable tr{background: #D8D8D8;} .ho +verTable tr:hover{background-color: #ffff99; }</style><table border=2 + class="hoverTable">[20160628_151916] <tr><td bgcolor="#366092"><font + color="White"> PLAIN TEXT TO BE EXTRACTED</td>';
In reply to Remove html tags to obtain plain text by Mj1234
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |