s/\s([^<]*<[^>]*>|$)/ $1/g;
-- Casey
In reply to Re: looking for a regexp by cwest in thread looking for a regexp by dan2bit