I am trying to remove seed numbers from a column in a Google Docs spreadsheet using regex. I cannot get RegExReplace to work. This is the error I get when running / debugging the code:
Missing ) after argument list. (line 14)
This is part of my code (line 14 is the RegExReplace function line in bold):
regexFormat = "^[0-9]+$"; replVal = value.RegExReplace(value; regexFormat; "");
This is the official syntax: RegExReplace( text ; regular_expression ; replacement )
Does anyone know how to use this feature? Thanks!
conualfy
source share