<p>I am not very good with Regex but I am learning.</p>
<p>I would like to remove some html tag by the class name. This is what I have so far :</p>
<pre><code>&lt;div class=&quot;footer&quot;.*?&gt;(.*?)&lt;/div&gt;
</code></pre>
<p>The first .*? is because it might contain other attribute and the second is it might contain other html stuff.</p>
<p>What am I doing wrong? I have try a lot of set without success.</p>
<h3>Update</h3>
<p>Inside the DIV it can contain multiple line and I am playing with Perl regex.</p>

Partly depends on the exact regex engine you are using - which language etc.   But one possibility is that you need to escape the quotes and/or the forward slash.  You might also want to make it case insensitive.
```
```
<div class=\"footer\".*?>(.*?)<\/div>
```
```
Otherwise please say what language/platform you are using - .NET, java, perl ...