I'd appreciate some help with regex cause I suck at it! I'm looking for a good solution for scanning a string, say an email paragraph, and identifying anywhere two braces face eachother with text between them. For example:
text:
Hello {name}, This is {company} here to tell you about our recent development of our new product {product}
findAttributes(text) -> ["{name}", "{company}", "{product}"]
How does the regex work for this type of dynamic string? Thanks so much for any help!