I have this:
string = 'white-space:pre;">porttitor,<span class="goog-inline-block" style="width:5.875px;height:16.8px"> </span>massa<span class="goog-inline-block" style="width:5.875px;height:16.8px"> </span>dui<span class="goog-inline-block" style="width:5.875px;height:16.8px"> '
and I want this:
['porttitor,', ' ', 'massa', ' ', 'dui']
I have tried re.findall('^>.*<$', string)
and re.findall('^\>.*\<$', string)
but no luck.
I have a non-regex workaround already, so I'm only looking for regex answers. Thanks!