JSFiddle - React, Tailwind, and code Playground
by brigand
JavaScript
const str = `** List of the Side-Game Channels **
> These are the games that aren't official 36th games, but still have 36th members playing them.
To access a channel, __react to this post__ with the corresponding emoji
> <:eso:791759489429798932> <#791761340209037313> - <@&791161423258320906>
> <:squad:791760648148877383> <#791761413067505685> - <@&791161402227949589>
> <:postscriptum:791762777286246430> <#791762828411404348> - <@&791161459614679100>`;
const pattern = />\s*([^ \n]+) [^\n]*-[^\n]*<@&([0-9]+)>/g
const matches = str.matchAll(pattern);
console.log([...matches]);