In MS Word, seeking Regex to hide non-highlighted text in multiple files
Thread poster: LEXpert
LEXpert
LEXpert  Identity Verified
United States
Local time: 01:22
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: 08:22
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






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 »
TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »