Regex Capture String Between Two Strings Codeforces Sheet