$text =~ s/<U\+([0-9A-Fa-f]+)>/qq!"\\x{$1}"!/gee; [download]
In reply to Re^3: convert scalar to wide hexadecimal value? how? by merlinX in thread convert scalar to wide hexadecimal value? how? by merlinX