Hello!
First of all, thank you for this great editor!
Currently I’m trying to write my frist macros and would like to find and replace some strings:
For example search for: (1) or (2) or (3) and so on…
I would like to replace such a string with: absatz
So for the moment I’m just trying the Find method and use the following:
document.selection.Find(“(.)”, eeFindNext | eeFindReplaceRegExp);
But that macro “finds” all characters, since only the dot-operator is used. But if I use this regular expression in the replace-dialog it works like it should be. I’ve tried other combinations in the macro, for instance [0-9] finds all numbers, thats correct, but as soon as I use the blackslash-char, it is simply ignored.
And if – for testing reasons – I search for a simple string that works and would like to replace it with a LaTex-command like section, the backslash is ignored again even if I use section.
Am I doing something completly wrong?
Thanks for any hint.