Search and replace

Solved
olivier -  
Raymond PENTIER Posted messages 58209 Registration date   Status Contributor Last intervention   -
Hello everyone, and before we start, my best wishes for 2018!
Can you tell me how to search for a word in parentheses and change it by removing the parentheses and italicizing the word?
For example: (Hello) - Hello

Thank you for your help, this is for my son who has a "Word" exam next week.

4 answers

m@rina Posted messages 27450 Registration date   Status Moderator Last intervention   11 562
 
Hello,

It's indeed a bit complicated.
In the Find and Replace dialog box, you first need to check "Wildcard characters". Then you fill it in like this:

Find: (\(*)(*)(\))
Replace: \2
and you add the Italic format (Format button => Font).

m@rina

--
Please do not ask me your questions in private. I do not respond to them.
3
Raymond PENTIER Posted messages 58209 Registration date   Status Contributor Last intervention   17 480
 
As you say, m@rina, it's "a little complicated" ...
And despite the online help from Word, which is very well done, I haven't fully understood the syntax!
On the other hand, it works perfectly (but I wasn't doubting that)!

Happy New Year, and above all keep assisting us!
Kiss.
0
oliris Posted messages 73 Status Member
 
Hello dear Marina and Raymond,

Thank you for your valuable help. It does indeed give the desired result.
Is it possible to do the same exercise with other signs
for example: "Marina and Raymond"
result without quotation marks and in italics: Marina and Raymond

Thank you again, and Marina your site is already in my favorites.
0
m@rina Posted messages 27450 Registration date   Status Moderator Last intervention   11 562
 
Hello

The parentheses are used to search for any occurrence. Thus, in the Replace field, putting \2, for example, allows you to retrieve the 2nd occurrence from the Find field.
And since a parenthesis is a wildcard character, you need to be clever to search for a (regular) parenthesis. So, you precede the parenthesis with a \.

In the second example, if it involves typing quotes without non-breaking spaces, it's simpler, as the quote is not a non-breaking character:
Find: (")(*)(")
Replace with: \2 (in italic format)

Explanations here:
https://faqword.com/index.php/word/environnement/88-la-face-obscure-du-rr

m@rina

ps: And happy new year! ;)
0
oliris Posted messages 73 Status Member
 
Hello Marina,

I tried, but Word can't find the words I'm searching for.
I put a piece of text as an example.
Normally, if I carry out the desired action, I should be able to remove the "quotes" while making the word bold.
Sorry to bother you again.
Thanks in advance!

Example:
The "Romans" were the first to unify the administration of Gaul in "Latin language" which became that of the Church.

Result:
The Romans were the first to unify the administration of Gaul in Latin language which became that of the Church.
0
oliris Posted messages 73 Status Member
 
Hello Marina,

I apologize, but your last message contained the correct answer.
I simply forgot to reactivate the search for wildcard characters.
This means my problem is resolved.
I don't know who you are, Marina, but I know that you are amazing for your knowledge and your generosity in sharing it with other strangers.
Best of luck with your website.

Olivier.
0
Paullux_1er Posted messages 123 Registration date   Status Member Last intervention   1
 
try the shortcut: ctrl + h (at the same time)

you can enter the text to search for "(search term)" without the quotes.
then you can enter the text to replace "search term" without the quotes.
0
oliris Posted messages 73 Status Member
 
Hello Paullux,

Thank you for your response, but it's not quite what I need.
The exercise is as follows: In a text, you must find all the words in quotes at once and replace them in italics without the quotation marks.
Thanks again for your help!!!
0
Raymond PENTIER Posted messages 58209 Registration date   Status Contributor Last intervention   17 480
 
Check out m@rina's blog https://faqword.com/

--

Retirement is great! Especially in the Caribbean... :-)
Raymond (INSA, AFPA, CF/R)
0
Raymond PENTIER Posted messages 58209 Registration date   Status Contributor Last intervention   17 480
 
Hi Olivier.

To find out (a little bit) about m@rina, click on her username (at the very beginning of the message) and you'll reach her profile.
And when you browse her blog https://www.faqword.com/, you can see what her skills are.
To get an idea, here's a link presenting her 21 books https://www.decitre.fr/auteur/395918/Marina+Mathias

--

Retirement is great! Especially in the Caribbean... :-)
Raymond (INSA, AFPA, CF/R)
0