Build, test, and debug regular expressions
This regex attempts to match key-value pairs in JSON-like strings by capturing the key before a colon and the value after it. The value can be either a quoted string or unquoted text. It handles optional braces and expects commas or non-word characters as separators. With the global flag, it can extract multiple pairs from a single string.