JSFiddle - React, Tailwind, and code Playground
by Oleg Lazarev
JavaScript
// Сопоставление любого символа из диапазона от U+1F4A9 PILE OF POO до U+1F4AB DIZZY SYMBOL.
const regex = /[💩-💫]/u; // Или, `/[\u{1F4A9}-\u{1F4AB}]/u`.
console.log(
regex.test('💨'), // false
regex.test('💩'), // true
regex.test('💪'), // true
regex.test('💫'), // true
regex.test('💬') // false
);