Test, validate and match regular expressions
Matches text that starts with STARTKEYWORD followed by a space, then captures any characters non-greedily until either the end of the line or a trailing ENDKEYWORD at the end of the line. This is useful for extracting content between specific markers in each line of a log or configuration file. With multiline flag, $ matches line endings, so it works across multiple lines.