I have a column with strings containing a name and an ID concatenated. How can I extract just the name part of the string and use that for filtering a dataset and copying it over to another worksheet in the google sheets file using the google apps script? The main thing I'm having difficulty with is just extracting the names from the column since they can vary in length. Additionally, I'm trying to perform automation using google apps script, so I want to avoid making a column manually and use something like regex.
Below is an example of how the column values look:
| Identity |
|---|
| Jane100 |
| Adam500 |
| Adam500 |
| Erica234 |
| Jessica8 |