helmex has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I am having problems splitting a string.
The string looks like this

or sometimes

I tried to use the following statment:
But when I try to print out elements of @tmp I get blank lines.
Does anybody have any suggestions?