find a string between in regex code example Example 1: regex word between strings? (?<=This is)(.*)(?=sentence) Example 2: regex match anything between .* Ex: john.*