Test, validate and match regular expressions
This regex uses positive lookbehind and lookahead assertions to match any characters strictly between a colon (`:`) and a hyphen (`-`). The `.+?` part performs a lazy match, ensuring it captures the shortest possible sequence of characters before encountering the first hyphen. It is commonly used for extracting specific values or parameters from delimited strings, such as log entries, URLs, or custom formatted data.