I really have serious problems with regex. I need to get all text between 2 strings, in this case that strings are <
<
This does the job easily and beautifully. It won't return a match when there is no text inside the span, so you do not need to worry about empty matches. It will however return groups with only whitespace in them.
(.+)
Test it out here.