I am trying to convert a Word document to HTML that I can directly use on my website. Because the document has some certain patterns, so I've decided it is easier to use wildcard replacing method than some word-to-html conversion or build-in "save as html" tool.
So in this document, all paragraphs with 20pt font size is used for subtitles, I want to wrap them with tag. Using "find by format", I was able to find all characters with 20pt, but I couldn't find out how to save these matches to variables so I can replace them using something like
(*) doesn't work because it will only match one character instead of the whole paragraph due to Word's lazy match pattern.