// Replace all - multiple times (JavaScript)
document.selection.Replace( "replace what (1)", "replace with (1)", eeReplaceAll );
document.selection.Replace( "replace what (2)", "replace with (2)", eeReplaceAll );
document.selection.Replace( "replace what (3)", "replace with (3)", eeReplaceAll );
...