The actual goal of my function is to replace all ssn's in a document with 'xxx-xx-xxxx'; however searchAndReplace method does not allow regex.
My workaround is to getWordContents, get the ssn's using regex there and then create an array of 'ssn' that I can search and replace.
The problem is, that It looks like right now, the searchAndReplace method only allows you to do one string and it outputs a file so i cannot iterate over my array.
Is there a better solution or a method I'm unaware of?