I have a string that I need to convert into a different format. I created a regex easy enough that can match it, although I am not to sure how to replace the matched parts.
Before: @{1234,Test User}
After: @[Test User](1234)
Here is my current pattern that matches the before string: /(@{.+})/
How can I use a regex to replace and convert the before string into the after string?