I’m having a tough time with a regular expression. My string is a chunk of html where somethimes occurs multilple times in a row and I want to replace that with a single occurance.
I was heading in this direction, but it doesn’t work in perl:
s/()+//g