$line =~ s/(\[0x(.{2})\])/chr($2)/eg; [download]
In reply to Re: Looking for regexp to convert hex numbers in text by busunsl in thread Looking for regexp to convert hex numbers in text by jepri