s/(.{1,4})(?=(?:.{4})*$)/sprintf"%x",eval"0b$1"/eg; [download]
-- Abigail
In reply to Re: bin2hex converter by Abigail in thread bin2hex converter by Anonymous Monk