mirror of
https://github.com/thelounge/thelounge
synced 2024-12-26 04:13:08 +00:00
3 lines
177 B
JavaScript
3 lines
177 B
JavaScript
"use strict";
|
|
|
|
module.exports = (message) => message.replace(/\x02|\x1D|\x1F|\x16|\x0F|\x03(?:[0-9]{1,2}(?:,[0-9]{1,2})?)?|\x04(?:[0-9a-f]{6}(?:,[0-9a-f]{6})?)?/gi, "").trim();
|