DEV Community

Oscar Sun(孫守真字任真)
Oscar Sun(孫守真字任真)

Posted on

Answer: How to Select, highlight and copy in Word using regex?

You can refer to my this answer.

https://stackoverflow.com/a/76260672/8249058

In that answer, I did not use the copy command, but You can use the Range object I already found when I want to highlight it, apply it's Copy method (if you are sure you want to select it and highlight it…

Top comments (0)