Simultaneous String Replacement with bulk rename utility and Javascript

Опубликовано: 21 Март 2026
на канале: Shck Tchamna (Ca᷅mnà')
2,362
11

Download the Software here : http://www.bulkrenameutility.co.uk/Do...
Javascript code for simulstaneous replacement:
String.prototype.replaceAll = function(search, replacement) {
var target = this;
return target.split(search).join(replacement);
};

var str = name;

str = str.replaceAll(" ", "_");
str = str.replaceAll("ñ", "n_tild_");
str = str.replaceAll("Ñ", "n_tild_");
str = str.replaceAll("ó", "o2");
str = str.replaceAll("_", "_");
str = str.replaceAll("à", "a1");
str = str.replaceAll("ã", "a_tild_");
str = str.replaceAll("é", "e2");
str = str.replaceAll("ë", "e_dd_");
str = str.replaceAll("Ň", "n7");
str = str.replaceAll("ŋ", "n_star_");

newName = str;