How to search for the chevron symbol < and > in a Word document?

Wiwi_12 Posted messages 19 Status Membre -  
Wiwi_12 Posted messages 19 Status Membre -
Hello,

I want to search for all the symbols "<" and ">" in a Word document!

Knowing that it is a special character already used by Word

I tried Ctrl + F and Ctrl + H with the wildcards considered but without success. Any idea?

Thanks for the help.

Configuration: Windows 7 / Firefox 28.0

2 réponses

PapyLuc51 Posted messages 4566 Registration date   Status Membre Last intervention   1 509
 
Hello,

When you opened the search window by pressing Ctrl+F, you can only search for one character at a time; first the < which will highlight them; then, once you have made your changes, you search for the >

For the find/replace, it’s the same process, one character at a time

Best regards
0
Wiwi_12 Posted messages 19 Status Membre 37
 
Thank you for the response!!
But...
My question wasn't complete.
In a Word document, I have hundreds of lines:

<XYZ-123> Marc <XYZ-0>
<XYZ-456> Alice <XYZ-1>
....
<XYZ-789> Jean <XYZ-2>

and I want to replace EVERYTHING between an opening angle bracket "<" and a closing angle bracket ">" (inclusive) with a space, for example, by using Word's find/replace tool (Ctrl + H) and performing an advanced search (including wildcards). I do:

Find the text: <*>

and the problem is that Word does not recognize the symbol "<" because it is a special character used by Word. This is only applicable when using the replace tool Ctrl + H

In short, I only want to keep the first names and delete everything else. I hope I have been clear?

Thank you in advance for the help provided.
0
Wiwi_12
 
Thank you for the info. I don't indeed see, at first glance, any solution other than parsing with VBA, which I do not wish to use for this document.
0
Wiwi_12 Posted messages 19 Status Membre 37
 
I also opened a post about disabling the automatic update of numbering in Word without removing the numbering (https://forums.commentcamarche.net/forum/affich-30012753-supprimer-la-mise-a-jour-automatique-des-numerotations#p30012753).
Thank you.
0