Hey,
I've got a macro in Outlook that checks the subject for a pattern. This works perfectly.
I've adapted the pattern match slightly for Word because I am checking the entire document, rather than one line. I cannot for the life of me get it working in Word how I want, not matter what I set .MultiLine to.
This is the (simplified) document contents:
OUR REF: ABC/DEF/GH43024IJ
YOUR REF: Some reference
No. KLM/NO2012/052963
Dear sirs,
The quick brown fox jumps over the lasy dog.
Regards,
Sign name
Expected match groups:
regex-expected.PNG
What Word does - return everything as one match:
regex-word-match.png
Any ideas?
Thanks
Bookmarks