Find & replace specific characters in MS Word
Thread poster: Daniel Frisano
Daniel Frisano
Daniel Frisano  Identity Verified
Italy
Local time: 00:43
Member (2008)
English to Italian
+ ...
May 22, 2018



 
Tom in London
Tom in London
United Kingdom
Local time: 23:43
Member (2008)
Italian to English
I agree May 22, 2018

Daniel Frisano wrote:



I completely agree.


 
Daniel Frisano
Daniel Frisano  Identity Verified
Italy
Local time: 00:43
Member (2008)
English to Italian
+ ...
TOPIC STARTER
WT*? May 22, 2018

Hey, what happened to my post? Was it found and replaced by the Nothing?

 
Giovanni Guarnieri MITI, MIL
Giovanni Guarnieri MITI, MIL  Identity Verified
United Kingdom
Local time: 23:43
Member (2004)
English to Italian
Looks like... May 22, 2018

Can't you just edit your first post and insert the text again?

 
Daniel Frisano
Daniel Frisano  Identity Verified
Italy
Local time: 00:43
Member (2008)
English to Italian
+ ...
TOPIC STARTER
Let's try again May 22, 2018

All right, I need to find and replace all lowercase letters that follow a period (full stop) and a space, and replace them with their uppercase counterpart.

The "find" part is easy:

Untitled-1

What about replace? Of course putting ". [A-Z]" in the Replace field won't work.

Meanwhile I found a workaround (building a macro), but a more elegant and flexible solution would be welcome.


 
Platary (X)
Platary (X)
Local time: 00:43
German to French
+ ...
It seems it was anticipated May 22, 2018

Daniel Frisano wrote:

All right, I need to find and replace all lowercase letters that follow a period (full stop) and a space, and replace them with their uppercase counterpart.



If I good understand, it's like an uppercase at the beginning of each sentence?

So, have a look here:

https://support.office.com/fr-fr/article/modifier-la-casse-d-un-texte-1d86cf80-fbef-4380-8d6f-59a6b77db749

Tested:

majuscule

Hope it was the appropriate answer.

Regards



[Modifié le 2018-05-22 17:40 GMT]


 
Gerard de Noord
Gerard de Noord  Identity Verified
France
Local time: 00:43
Member (2003)
English to Dutch
+ ...
Adrien is right May 22, 2018

Higlight all capital letters using Find and Replace.
Select all text and apply Change Case/Sentence case.
Check all highlighted letters and correct them manually when needed.

Cheers,
Gerard


 
Jaime Oriard
Jaime Oriard  Identity Verified
Mexico
Local time: 17:43
Member (2005)
English to Spanish
+ ...
Stick to your macro May 22, 2018

Edited because my original solution did not address changing the letter case.

As far as I know, there is no option in the Find and Replace dialogue box to change the case. And you cannot use simple regex to change the case either. You would have to find and replace each individual letter, which would not be very practical.

Good luck.

[Edited at 2018-05-22 17:08 GMT]


 
Daniel Frisano
Daniel Frisano  Identity Verified
Italy
Local time: 00:43
Member (2008)
English to Italian
+ ...
TOPIC STARTER
Solved May 22, 2018

Yes, I'll stick with the macro: change 'a' to 'A' when following either (1) full stop + blank or (2) paragraph break (the ^p character), then 'b' to 'B' etc.

The problem with the built-in function (Adrien's suggestion) is that it changes everything but the first letter to lowercase - names, acronyms, etc.

Now I can forget about capitalizing the first letter forever, then run the macro. Turns out that laziness is the real mother of invention - despite Frank Zappa.


 
DZiW (X)
DZiW (X)
Ukraine
English to Russian
+ ...
similar May 22, 2018

Not long ago a friend of mine asked me to check her translation of a poor OCR text with caPiTals in many words--and in translation too.

When asked why she didn't correct it, she replied that her client didn't want to pay for correction, so she retained how it was... A quick vba worked fine and I sent it as a gift to her happy client)


 


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


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

Find & replace specific characters in MS Word






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