Hi there!
I have a string that's coming from a cell in excel that contains multiple lines like so:
Line 1 what the beep?
Line 2 beep boop bap.
Line 3 hello beep.
How do I replace all instances of 'beep' with 'hello'?
I've tried everything I can think of and no luck so far 😞 The normal replace function doesn't seem to do it, and my javascript attempts don't even return anything?
function ExecuteScript() {
var res = %ExcelCellContents%.replace("WORKBOOKS", "red");
WScript.echo(res);
}