s/(\d+)[xX*](\d+)/@{[($1) x $2]}/g;
In reply to Re: Search and replace with expansion by Anonymous Monk in thread Search and replace with expansion by davehorsfall