Filtering all subdomains of a domain

We’ve encountered a problem with Bing’s tracker “clarity.ms” throwing errors. We do not want our Sentry account recording these errors. However, it’s becoming a problematic whack-a-mole situation where I filtered out c.clarity.ms and e.clarity.ms, and now we see errors from b.clarity.ms and j.clarity.ms. So I would like to filter out every subdomain (*.clarity.ms, for example).

I assume ignoreUrls is where I would do this. However, the Sentry documentation doesn’t show if I can do this with RegEx, so it’s unclear how to filter entire subdomains.

How would I do this within the JavaScript implementation?

Thank you.

Any thoughts?