var x = "\u0418\u0432\u0430\u043d \u0412\u0430\u0441\u0438\u043b\u044c\u0435\u0432\u0438\u0447 \u043c\u0435\u043d\u044f\u0435\u0442 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u044e";
var r = /\\u([\d\w]{4})/gi;
x = x.replace(r, function (match, grp) {
return String.fromCharCode(parseInt(grp, 16)); } );
x = unescape(x);
console.log(x);
background: url("images/bg.jpg") no-repeat fixed center top / 100% auto #F4F4F2;
background-image: url("images/bg-copy3.jpg");
background-repeat: no-repeat;
background-position: center top;
background-attachment: fixed;
background-width: 100% auto;
background-color: #F4F4F2;
var str = '<a class="user-panel__user-name" href="https://toster.ru/user/andreystrelkov"> andreystrelkov </a>';
if (str.match(/\/user\/(\w+)\"/)) { uName = RegExp.$1};
console.log(uName);
uName = " andreystrelkov "; // с кучей пробелов и прочих табуляций по бокам