In MS Word, seeking Regex to hide non-highlighted text in multiple files
Thread poster: LEXpert
LEXpert
LEXpert  Identity Verified
United States
Local time: 17:32
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: 00:32
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 Studio 2022 Freelance
The leading translation software used by over 270,000 translators.

Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop and cloud solution, empowering you to work in the most efficient and cost-effective way.

More info »
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 »