ok, so lets say I have
s = 'ABC Here DEF GHI toHere JKL'
and I want to get a new string with only the string between Here and toHere
new_str = 'DEF GHI'
(I dont know how many or which chars I have before Here or any where else)
I just know that I have Here and toHere in the string.
how can I get the new_str?
import re;print(re.findall("Here(.*)toHere",target_string))... I guess