OK, genuinely impressed with ChatGPT. I was trying to write some quick JS to consolidate ingredients from a Mealie shopping list but my JS and Regex are both rusty. Gave ChatGPT the gist of what I was after and it wrote the matching function for me.