There is a line
"patch#string;^in?parent$where%%window*need+replace="
Need to replace all the Russian words. Before these words must be passed to a separate function "proces" which will be the result of their transformation. And that replace function obtained from the result in string.
function proces(ruStr){
// here I process the word their algorithms
...
return ruStr;
}
/([a-z]+)/g.exec("patch#string;^in?parent$where%%window*need+replace="); // ["string", "string"] - sierra.Mr commented on September 18th 19 at 23:50
without seeing the code, help nothing else. - Jeremie_Kunze commented on September 19th 19 at 00:02
and so clear?
if not, then direct road to freelancing. - Jeremie_Kunze commented on September 19th 19 at 00:08
The original string:
"patch#string;^in?parent$where%%window*need+replace="
The result
"patch#^^^string^^^;^^^^in^^^?parent$^^^which^^^%%window*^^^need^^^+^^^replace^^^="
I need the original string:
"patch#string;^in?parent$where%%window*need+replace="
The result
"patch#%D1%81%D1%82%D1%80%D0%BE%D0%BA%D0%B0;^%D0%B2?parent$%D0%BA%D0%BE%D1%82%D0%BE%D1%80%D0%BE%D0%B9%%window*%D0%BD%D1%83%D0%B6%D0%BD%D0%BE+%D0%B7%D0%B0%D0%BC%D0%B5%D0%BD%D0%B8%D1%82%D1%8C=" - sierra.Mr commented on September 19th 19 at 00:14
The result should be the following:
"patch#!;^in?parent$!%%window*!+!=" - sierra.Mr commented on September 19th 19 at 00:17
hard, right? - Jeremie_Kunze commented on September 19th 19 at 00:20
if it is already not clear, it is either study, or order. - Jeremie_Kunze commented on September 19th 19 at 00:23