Thanks Andy, but it doesn't. And just above it, I have:
Code:
$rec{'Text'} =~ s|</blokrechts>|</span>|gis; $rec{'Text'} =~ s|<pre>(.*?)<br>(.*?)</pre>|<pre>$1 $2</pre>|gis;
The first one works fine so I guess it's something to do with the way I try to get rid of the <br>'s...