I am facing an issue with adding the value
US punctuation + alphanumeric lowercase:[a-z0-9,.?;:!&()_'"]+
to a cell in my spreadsheet. The error message I receive is:
Missing ) after argument list.
I am unsure how to correct the string that includes '
and "
. Can anyone help me with this?
Here is the code I am using:
var ss = SpreadsheetApp.getActiveSpreadsheet();
var sheetConfig = ss.getSheetByName("Config");
sheetConfig.getRange("K18").setValue("US punctuation + alphanumeric lowercase:[a-z0-9,.?;:!&()_'"]+");
And here are some of the attempts I have made so far:
1.
sheetConfig.getRange("K18").setValue("US punctuation + alphanumeric lowercase:[a-z0-9,.?;:!&()_''' '"']+");
2.
sheetConfig.getRange("K18").setValue("US punctuation + alphanumeric lowercase:[a-z0-9,.?;:!&()_ ''"']+");