My string is =
"Lead and opportunity scoring with advanced scoring models to customers most
likely to convert and buy and Improve conversion and win rates"
I am trying to get all the characters in between
with|using|through and to|so|that [we considered with|using|through and to|so|that as groups.]
Executed:
pattern="to|so|now (.*) with|using|through"
x=re.findall(pattern,str)
And found of the results as
x= ['', '']. Why is that?