Update validate.js

This commit is contained in:
Aleksandr Statciuk 2022-11-16 02:49:56 +03:00
parent 62546f7d6f
commit 9390b53a7f

View file

@ -186,7 +186,7 @@ function validateChannelId(row, i) {
.replace(/^@/i, 'At')
.replace(/^&/i, 'And')
.replace(/\+/gi, 'Plus')
.replace(/\s\-/gi, ' Minus')
.replace(/\s\-(\d)/gi, ' Minus$1')
.replace(/[^a-z\d]+/gi, '')
}