Код: Выделить всё
const myRegex = new RegExp(`[1234567890/]`);
const myRegex = new RegExp(`[0-9\\/]`);
const myRegex = new RegExp(`[0-9\/]`);
pattern="[0-9\/]*"
pattern="[1234567890/]*"
Они не работают, хотя.
Подробнее здесь: https://stackoverflow.com/questions/797 ... r-and-only
Мобильная версия