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

Daniel Frisano
Monaco
Local time: 11:10
Member (2008)
English to Italian
+ ...
May 22



 

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

Daniel Frisano wrote:



I completely agree.


 

Daniel Frisano
Monaco
Local time: 11:10
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: 10:10
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
Monaco
Local time: 11:10
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: 11:10
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: 11:10
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: 04:10
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
Monaco
Local time: 11:10
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






PerfectIt consistency checker
Faster Checking, Greater Accuracy

PerfectIt helps deliver error-free documents. It improves consistency, ensures quality and helps to enforce style guides. It’s a powerful tool for pro users, and comes with the assurance of a 30-day money back guarantee.

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 »



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