Build, test, and debug regular expressions
This regular expression is designed to parse custom field or placeholder tags enclosed in square brackets. It captures the field name and an optional numeric identifier (field ID) found within parentheses. It is flexible enough to handle optional surrounding characters like curly braces, commas, or percentage signs, making it ideal for parsing configuration strings or templating systems.