I’m working on a script to cut down some imported text using a RegEx to find an ending point.
I’ve gotten to the point where I can run my script and I can see the item that I need - but I have no idea how to access this info.
I’ve got a regex.exec() that runs…
How do I access this part?
I have tried:
var endPoint = regex.exec(body).index;
- but that doesn’t work - I get an error.
Thanks so much!