DEV Community

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

You can refer to my this answer.

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)