Can anyone tell me how to remove parentheses from a text inside a p class element with Javascript?
I have no access to the html as it is protected by the website provider.

I have the following code:

```
<p class="com-meta">
    <a href="http://nanilümmel.de" target="_blank" style="font-weight: bold;" rel="nofollow">Nani</a> <span>(<em>Montag, 03 Februar 2020 17:39</em>)</span>
</p>

```

I want to remove the parentheses from this text here: (Montag, 03 Februar 2020 17:39)

I tried this code here but it's not working:

```
$('.com-meta').each(function(index, item){
    console.log($(item).text());
    var r = $(item).text().replace(/[(\[].*?[)\]] */g, "");
    $(item).html(r);
});

```