How can I simplify this URL to just the hostname with rewrite rules?

So - I'm the administrator of a Java application which has a URL similar to the following:

<a href="" title=""></a>

Can't have them change it, and there's no way to simplify.

I'd like to redirect the URL above to:

<a href="" title=""></a>

I've tried a few rewrite rules by trial and error, unsuccessfully.

I also attempted to use generators such as <a href="" title=""></a> and <a href="" title=""></a>.

Any thoughts?

Thanks in advance.