in reply to Looking for regexp to convert hex numbers in text

From URI::Escape ...

s/%([0-9A-Fa-f]{2})/chr(hex($1))/eg

... which can easily be adapted, thus ...

s/\[0x([\da-fA-F]{2})\]/chr(hex($1))/eg

 

Ooohhh, Rob no beer function well without!