Use this as the reg ex expression, where “This is” and “sentence” are the two components surrounding the string to extract.
(?<=This is)(.*)(?=sentence)
I find this link really helpful for this kind of regex.
In your example, I’d use:
(?<=href=)(.*)(?= target)
and
(?<=blank>)(.*)(?= </a>)
You may need to escape the = after href and the > after blank by adding a \ in front of it. This should get you close. Also, if that doesn’t work, you can extract some of the text with this and then find & replace.