I have the following text in a string that always ends in a “?”.
"Which of the following can be abc def ghi?"
"Which of the following can be hello?"
Can someone tell me how I can check to see if this text contains:
"Which of the following <any string of text here>?"
and if it contains that then how can I get the text “abc def ghi” and “hello”
Edit:
This regex should match all the inputs from your other question: