1、对二进制字符流,进行分字节处理
原始字符流:726A705A555331383878454D637875516D36447738573252437A745233546B5245425A356B513441
进行如下的正则表达式匹配替换
结果为:0x72,0x6A,0x70,0x5A,0x55,0x53,0x31,0x38,0x38,0x78,0x45,0x4D,0x63,0x78,0x75,0x51,0x6D,0x36,0x44,0x77,0x38,0x57,0x32,0x52,0x43,0x7A,0x74,0x52,0x33,0x54,0x6B,0x52,0x45,0x42,0x5A,0x35,0x6B,0x51,0x34,0x41
2、替换特定格式的字符串
70.kmg替换为 B70.kmg,替换格式如下