batch replace string to []byte
replace string to []byte