This is a small matter if we were doing jQuery, just tag the TR and remove it etc.. But i am curious how one would do this in a strickly regex way.. which manipulating the dom.

I have this:

```
<tr id="anyName">
    <td>
         // a bunch of html
    </td>
</tr>

```

How would you use regular expressesions to replace that tr and everything in it to "".

I had this:

sometable.replace(".\*?"," ");

I tried a few other things, but I cannot get this to work. Basically, I want the tr gone and all its contents. I am using a server side templating engine that processes all this data prior to coming into the view. So, I can hold this data as a string into this templating logic... and just remove it.. but since its a string, I need the regex to remove it.

Any ideas? I feel I am missing something very simple here.