#!/usr/bin/perl $target = "blah0x4445434C41524520405420blah blah"; $target =~ s/0x(([0-9a-f][0-9a-f])+)/pack('H*', $1)/ie; print $target, "\n";
In reply to Re: convert several two digit hex characters to ascii
by eye
in thread convert several two digit hex characters to ascii
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |