in the regular expression pattern, how to add a string content from an array code example
Example: regex to get part of word nodejs
/\(\{#(.*?)#\})\)/g.exec("({#test#})")[1] === "test"
/\(\{#(.*?)#\})\)/g.exec("({#test#})")[1] === "test"