e.g. ```js uri = 'https://waybackassets.bk21.net/20260317214732/https://123.com/?ref=1234&fb_ref=4567' uri = uri.replace(/&?ref=[^&#$/]*/gi, ''); ``` The result will be: `https://waybackassets.bk21.net/20260317214732/https://123.com/?&fb_` which I assume is not what we expected. Ref: https://github.com/Mte90/facebook-direct-links/blob/777654b13256461542e43b42a6e7158ccbef62b3/direct.js#L59