Google Spreadsheets script to delete any rows where a string is found
问题 I need to loop through all rows/columns in a sheet and remove rows contain certain words. Ideally, I would search through the sheet using a regular expression, but just finding a string would help get me moving. I'm seeing a lot of posts on Stack Overflow about finding and deleting empty rows, but can't find anything about searching an entire sheet and deleting a row if found. This is what I have so far: /* Delete rows */ function deleteRows() { var sheet = SpreadsheetApp.getActiveSpreadsheet