regex find string between strings and capture string code example Example: regex word between strings? (?<=This is)(.*)(?=sentence)