Objective
The goal is to extract the substrings TEST_CASE and RESULT from the string | TEST_CASE | RESULT | using regular expressions.
A possible solution
As an example [^\s*|] selects only the first character.
Question
What are examples of regular expressions that would extract the required substrings?