Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have a word document that looks like this:

randomword: definition
anotherrandomword: definition
yetanotherrandomword: definition
multiple word term: definition

and I want to make it look like this:

randomword: definition
anotherrandomword: definition
yetanotherrandomword: definition
multiple word term: definition

I cant do this manually because I have hundreds of lines, how do I do this?

share|improve this question

2 Answers 2

up vote 2 down vote accepted

This has a caveat, in that it needs a return character at the beginning of the file in order to match the beginning of the line. Also, it bolds the colon.

Search replace, and enable "Use wildcards"

In the search box, enter

^13(*:)

This searches for a return character, followed by a sequence of characters ending in a colon.

In the replace box, enter

^p\1

Then click Formatting / Font / Bold

The ^p replaces the return character with a return character, and the \1 matches what was found in the brackets in the search pattern. So basically it replaces what it found in the search, but adds bold formatting.

share|improve this answer

Try this: If they're all in a row, hold the alt key and start at the top, drag your cursor down and select all of the words. Then, hit cntrl+b, or just click 'Bold'... This should work, unless some words are a lot longer than others, in which case parts of other words will be bolded as well.

share|improve this answer
    
@User802303 Did this help? –  ekaj May 7 '12 at 2:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.