Код: Выделить всё
const message = 'a[special soh symbol]b'
message.replaceAll('[special soh symbol]',"soh symbol")
message.replaceAll('\x01', 'soh symbol')
message.replaceAll('\u0001', 'soh symbol')
console.log(message)
Подробнее здесь: https://stackoverflow.com/questions/794 ... de-project
Мобильная версия