ИС
const str = `review_image_27`;
console.log(...str.match(/\d+/g))
Size: a a a
ИС
const str = `review_image_27`;
console.log(...str.match(/\d+/g))
IS
МУ
IS
Δ
IS
МУ
КК
IS
МУ
МУ
КК
{
const str = 'review_image_27';
let result = [];
for (let i = str.length - 1; i >= 0; i -= 1) {
if (str[i] !== '_') {
result.unshift(str[i]);
} else {
break;
}
}
console.log(+result.join(''))
Δ
IS
DE
IS