In a text, I want to remove everything between the last occurrence of `<br>` and a string.

Let's say I have this text:

```
Lorem ipsum dolor sit amet, <br> 
consectetur adipisicing elit, <br> 
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. <br> 
Some text I want to remove because it is useless.

```

I want to remove everything between the last `<br>` and "useless." (including the delimiters).

The expected result would be:

```
Lorem ipsum dolor sit amet, <br> 
consectetur adipisicing elit, <br> 
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

```