findEndSymols = 'это моя строка для теста, IT ALSO HAS ENGLISH WORDS. Начнём'; findEndSymols = findEndSymols.replace(/[^\s]+$/,''); alert(findEndSymols);