regex to capture everything before string OR string
I know this is possibly number 206:th question about regex on the internet in the last hour but...
I'm having trouble with these kinds of strings:
I'm trying to extract the title to get the results
The problem is that I (sort of) know what "tags" that can occur, but not in what order.
I know that there are other (simple) solutions in C# but I'm trying to learn about regular expressions, and believe me I've learned a lot when trying to find a solution to this problem.