KDJ, could you extend current or write any additional tester for build-in AkelPad RegExp? It different, and last is much difficult cause weak, but it's required for some tasks like Coder syntax definition.

No, just a though, that script can use some dummy document and AkelPad.Replace() plugin function, if there no better exports exists. With replace pattern like "$0\n$1\n$2\n$3\n$4\n$5\n$6\n$7\n$8\n$9\n$10..." But may be it's a possible to call some AkelEdit func through WSH - I badly understand this calls and interaction (as whole WinAPI).