To bold

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello from steved

Kashani-Redeno
Kings Theatre-Matins
Al Akbar-Nominee

You will notice "-" in the above

My question Can I use the dash to find then bold the leftside and the the
rightside.
Thankyou.
 
See if this works for you:

0. Save the document before trying this.

1. From the menu, choose Edit - Replace.

2. Find what:<[A-z]@>-<[A-z]@>

3. Replace with:[leave empty, but press Ctrl+B to assign bold formatting]

4. Click the Use Wildcards checkbox.

5. Click Find Next to verify that it does indeed find the hypenated pairs
you're looking for; once you're sure it does, click Replace All.

Note: if this misfires and assigns bold to the wrong things, you should be
able to press Ctrl+Z to undo the changes. If there are too many changes,
however, you have the saved copy of the document as a fallback.

Explanation:

<: Match beginning of word
: Match end of word

[A-z]@: match any number of alphabetic characters from a through Z
(lowercase a through uppercase Z)
 
Thankyou.

Herb Tyson said:
See if this works for you:

0. Save the document before trying this.

1. From the menu, choose Edit - Replace.

2. Find what:<[A-z]@>-<[A-z]@>

3. Replace with:[leave empty, but press Ctrl+B to assign bold formatting]

4. Click the Use Wildcards checkbox.

5. Click Find Next to verify that it does indeed find the hypenated pairs
you're looking for; once you're sure it does, click Replace All.

Note: if this misfires and assigns bold to the wrong things, you should be
able to press Ctrl+Z to undo the changes. If there are too many changes,
however, you have the saved copy of the document as a fallback.

Explanation:

<: Match beginning of word
: Match end of word

[A-z]@: match any number of alphabetic characters from a through Z
(lowercase a through uppercase Z)

--
Herb Tyson MS MVP
Please respond in the newsgroups so everyone can follow along.
http://www.herbtyson.com
Steved said:
Hello from steved

Kashani-Redeno
Kings Theatre-Matins
Al Akbar-Nominee

You will notice "-" in the above

My question Can I use the dash to find then bold the leftside and the the
rightside.
Thankyou.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top