How to delete all symbols except cyrillic/latin alphabet from string?

How to delete all symbols except cyrillic/latin alphabet from string?

str = 'детёныш test test ()&^*'
console.log(str.replace(/[^а-яА-Яa-zA-Z]/gi," "))

result:

дет ныш test test

Problem : lost symbol 'ё' in standart а-я range (абвгдеёжзийклмнопрстуфхцчшщъыьэюя)

Probably safer to use the unicode block range for Cyrillic:

str.replace(/[^a-z\u0400-\u04FF]/gi," ");

Here's a fiddle