I can't find the right keyword. I have this string :
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
<table border="2" cellpadding="5" cellspacing="0" style="width: 490px;">
    <tr>
        <th>Company</th>
        <th>Contact</th>
        <th>Country</th>
    </tr>
    <tr>
        <td>Alfreds Futterkiste</td>
        <td>Maria Anders</td>
        <td>Germany</td>
    </tr>
</table>
Duis consequat varius aliquam. In hac habitasse platea dictumst.
<table border="2" cellpadding="5" cellspacing="0" style="width: 490px;">
    <tr>
        <th>Company</th>
        <th>Contact</th>
        <th>Country</th>
    </tr>
    <tr>
        <td>Alfreds Futterkiste</td>
        <td>Maria Anders</td>
        <td>Germany</td>
    </tr>
</table>
What I want is :
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Duis consequat varius aliquam. In hac habitasse platea dictumst.
My attempt :
<table(.*)[^>]*>.*?
This is for a script using perl that I'll make to remove table tags from a specific db table field. My attempt was targeting the table tag first and replace them with blank using perl.

 
     
    