The following regex finds text between substrings FTW and ODP.
/FTW(((?!FTW|ODP).)+)ODP+/
What does the (?!...) do?>
(?!
)
'?!' is actually part of '(?! ... )', it means whatever is inside must NOT match at that location.