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






Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

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 »