regex match everything between two strings code example
Example 1: regex word between strings?
(?<=This is)(.*)(?=sentence)
Example 2: get everything between two characters regex
(?<=\[)(.*?)(?=\])
(?<=This is)(.*)(?=sentence)
(?<=\[)(.*?)(?=\])