How would I remove specific, yet slightly random text from a string in JavaScript?
EG:
a string var string = "!warn <@123456789123456789> I eat apples for breakfast";
The !warn will always be at the start.
<@ will always be at the start of the numbers.
> will always be at the end of the numbers.
The <@****> numbers are random and are never the same.
The length of the <@****> can range between 18-20 numbers.
I want to end up with the string I eat apples for breakfast.
Thanks!