In MS Word, seeking Regex to hide non-highlighted text in multiple files
Thread poster: LEXpert
LEXpert
LEXpert  Identity Verified
United States
Local time: 12:17
Member (2008)
Croatian to English
+ ...
Jun 5, 2023

Hi all, I want to hide non-highlighted text in MS Word 2016, but as I often often need to perform the operation on a larger number of files at once, I am hoping to find a regex that I can apply in a batch editor like Notepad++. I would similarly need to be able batch-undo the process, though either find all non-nonhighlighted or find all hidden would work (and then replace with non-hidden in either case). Any ideas? Thanks!

 
Samuel Murray
Samuel Murray  Identity Verified
Netherlands
Local time: 19:17
Member (2006)
English to Afrikaans
+ ...
@Lex Jun 5, 2023

LEXpert wrote:
Hi all, I want to hide non-highlighted text in MS Word 2016, but as I often often need to perform the operation on a larger number of files at once, I am hoping to find a regex that I can apply in a batch editor like Notepad++.


See also:
https://www.proz.com/post/3000209

Also, google for "record a macro in MS Word".


 
Hans Lenting
Hans Lenting
Netherlands
Member (2006)
German to Dutch
Two approaches Jun 5, 2023

LEXpert wrote:

Hi all, I want to hide non-highlighted text in MS Word 2016, but as I often often need to perform the operation on a larger number of files at once


All documents in a folder:
https://www.datanumen.com/blogs/find-replace-contents-multiple-word-documents/

All open documents:
https://www.msofficeforums.com/word-vba/47755-find-replace-all-open-documents.html

You will have to adapt these macros to execute the hiding task.


 


To report site rules violations or get help, contact a site moderator:


You can also contact site staff by submitting a support request »

In MS Word, seeking Regex to hide non-highlighted text in multiple files






Wordfast Pro
Translation Memory Software for Any Platform

Exclusive discount for ProZ.com users! Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value

Buy now! »
Trados Business Manager Lite
Create customer quotes and invoices from within Trados Studio

Trados Business Manager Lite helps to simplify and speed up some of the daily tasks, such as invoicing and reporting, associated with running your freelance translation business.

More info »