while ($test =~ s/>\s*([\w-]*?="[\w-]*?"),?/ $1>/s) {} [download]
In reply to Re: Re: Something's awry in my regex... by petesmiley in thread Something's awry in my regex... by tshabet