Regex Capture String Between Two Strings Codeforces Problems