Test, validate and match regular expressions
This regex matches a substring that starts with an opening curly brace, contains any characters (except newline) zero or more times, and ends with a closing curly brace. It is useful for extracting brace-enclosed content such as template placeholders, code blocks, or annotations, assuming no nested braces. It can also identify CSS rules or object literals in a single line.