Find & replace specific characters in MS Word
Tópico cartaz: Daniel Frisano
Daniel Frisano
Daniel Frisano  Identity Verified
Itália
Local time: 20:34
Membro (2008)
inglês para italiano
+ ...
May 22, 2018



 
Tom in London
Tom in London
Reino Unido
Local time: 19:34
Membro (2008)
italiano para inglês
I agree May 22, 2018

Daniel Frisano wrote:



I completely agree.


 
Daniel Frisano
Daniel Frisano  Identity Verified
Itália
Local time: 20:34
Membro (2008)
inglês para italiano
+ ...
CRIADOR(A) DO TÓPICO
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
Reino Unido
Local time: 19:34
Membro (2004)
inglês para italiano
Looks like... May 22, 2018

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

 
Daniel Frisano
Daniel Frisano  Identity Verified
Itália
Local time: 20:34
Membro (2008)
inglês para italiano
+ ...
CRIADOR(A) DO TÓPICO
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: 20:34
alemão para francês
+ ...
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
França
Local time: 20:34
Membro (2003)
inglês para holandês
+ ...
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
México
Local time: 12:34
Membro (2005)
inglês para espanhol
+ ...
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
Itália
Local time: 20:34
Membro (2008)
inglês para italiano
+ ...
CRIADOR(A) DO TÓPICO
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)
Ucrânia
inglês para russo
+ ...
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






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