I’m trying to get text from a word doc.
The whole doc is formatted in a table with lines.
I have managed to use matches to find what I’ve needed so far, but now I need a line of text but can’t seem to Split the string.
So I have Read Text of the docx and output is a wordstr.
I am trying to pull out “CELEBRATE THE WEEKEND WITH A WINNING OFFER!” But this text could vary.
I have tried splitting after "Name and before “Subtitle” ; Split(out_Brief, “Promotion Name”)(1)
But I can’t grab all of the text. I have checked the output in the log message and the string at this stage is “\r\a\r\aCELEBRATE THE WEEKEND WITH A WINNING OFFER!\r\a\r\a”
I have tried to split then further, but these characters from the lines in the doc prevent this from working…
Any help would be great, thanks!