This search works to select all the text between the START line and the END line (without selecting the START and END lines):
(?s)(?<=START:BC-BKN--Timberwolves-Spurs, Long Box).*?(?=END:BC-BKN--Timberwolves-Spurs, Long Box)
But what I want to do is make the team names variable, so we don't have to create a script for every game/team combination (which would be hundreds), something like this:
(?s)(?<=START:BC-BKN--*, Long Box).*?(?=END:BC-BKN--*, Long Box)
but when I run a regex checker on the previous GREP search, I get the following error:
Lookbehinds need to be zero-width, thus quantifiers are not allowed.
If qualifiers are not allowed, how do I make it match any 2 team names, separated by a - (dash) and still select the text between them?
Quantifiers, not qualifiers. There is a difference.
For me, the * makes the GREP search pointless. I'm not a GREP crack, but I'd do this by finding the dash and detecting if there is letter before and after it.
Perhaps this can help: Lookahead and Lookbehind Tutorial—Tips &Tricks