Javascript regex to remove hex bytes?

后端 未结 0 1461
粉色の甜心
粉色の甜心 2021-01-30 03:45

One way is to have 255 bytes:

function removeHex(txt) {
   // Assume I have all of them
   return String(txt).replace(/[\\x00\\x01\\x02\\x03\\xFF]/g, \'\')
}

rem         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题