Hi all,
I'm a bit new with Javascript, but after spending a lot of time in it, I have given up.
I have a file with about 100000 lines, in which are couples of characters which have to be replaced.
For example: â has to be an a, é has to be an e. There are a few of this combinations, they all start with à except for one, that one start with Ä.
For some reason I'm not able to Find/Replace two characters such as é. This code doesn't work for example:
I also tried to write a code which would find Ã, then select the character right of it, and then look which combination it is. But mayby it's because I'm not that good with Javascript, but that also didn't work out.
I'm using UltraEdit version 16.00.0.1036 on a Windows XP Professional Service Pack 3.
Thanks a lot in advance!
Joost
I'm a bit new with Javascript, but after spending a lot of time in it, I have given up.
I have a file with about 100000 lines, in which are couples of characters which have to be replaced.
For example: â has to be an a, é has to be an e. There are a few of this combinations, they all start with à except for one, that one start with Ä.
For some reason I'm not able to Find/Replace two characters such as é. This code doesn't work for example:
Code: Select all
var abc = "é";
var def = "e";
UltraEdit.activeDocument.findReplace.replace(abc, def);
I'm using UltraEdit version 16.00.0.1036 on a Windows XP Professional Service Pack 3.
Thanks a lot in advance!
Joost