Find & replace specific characters in MS Word
Thread poster: Daniel Frisano

Daniel Frisano
Switzerland
Local time: 20:25
Member (2008)
English to Italian
+ ...
May 22



 

Tom in London
United Kingdom
Local time: 19:25
Member (2008)
Italian to English
I agree May 22

Daniel Frisano wrote:



I completely agree.


 

Daniel Frisano
Switzerland
Local time: 20:25
Member (2008)
English to Italian
+ ...
TOPIC STARTER
WT*? May 22

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

 

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

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

 

Daniel Frisano
Switzerland
Local time: 20:25
Member (2008)
English to Italian
+ ...
TOPIC STARTER
Let's try again May 22

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:

zebr9zdxquoc3a5p40mj.jpg

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.


 

Adrien Esparron
Local time: 20:25
Member (2007)
German to French
+ ...
It seems it was anticipated May 22

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:

rbbna6tjh9ria9iboala.jpg

Hope it was the appropriate answer.

Regards



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


 

Gerard de Noord  Identity Verified
France
Local time: 20:25
Member (2003)
German to Dutch
+ ...
Adrien is right May 22

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  Identity Verified
Mexico
Local time: 13:25
Member (2005)
English to Spanish
+ ...
Stick to your macro May 22

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
Switzerland
Local time: 20:25
Member (2008)
English to Italian
+ ...
TOPIC STARTER
Solved May 22

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
Ukraine
English to Russian
+ ...
similar May 22

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

Advanced search






BaccS – Business Accounting Software
Modern desktop project management for freelance translators

BaccS makes it easy for translators to manage their projects, schedule tasks, create invoices, and view highly customizable reports. User-friendly, ProZ.com integration, community-driven development – a few reasons BaccS is trusted by translators!

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 »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search