Build, test, and debug regular expressions
This regex extracts top-level key-value pairs from JSON-formatted text. It uses a negative lookbehind for 5 spaces to filter out nested properties, capturing simple values (strings, numbers, booleans), objects wrapped in curly braces, and arrays in square brackets. It's useful for parsing flat JSON structures or extracting only the outermost properties.