How to make bold the text before colon character in Microsoft Word

How to make bold the text before colon character in Microsoft Word

Assume that we have a word document as below:

Definition 1: Description 1
Definition 2: Description 2
Definition 3: Description 3

And you want to make the text bold before a colon (:) punctuation on each line in a Microsoft Word document as shown below:

Definition 1: Description 1
Definition 2: Description 2
Definition 3: Description 3

Making texts bold before a colon character

1. First, open search and replace box in Microsoft Word. You might click Ctrl+F buttons, and then click the triangle at theright side of the search bar to access Replace functionality.

2. In the search box, enter

^13(*:)

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

3. Enable "Use wildcards" after clicking More >> button.

4. In the replace box, enter

^p\1

The ^p replaces the return character with a return character, and the \1 matches what was found in the brackets in the search pattern.

5. Then, choose Formatting/Font/Bold after clicking More >> button.

6. Lastly, click Replace All button...


How to make bold the text before colon character in Microsoft Word
added 3 years 8 months ago

- How to make bold the text before colon character in Microsoft Word
- Generate object from xml in c#
- 24 Useful Distinct Color Codes
- How to draw an arrow with DrawLine command
- How to write Snake game in C#?
- Break Parallel Foreach Earlier
- How to find all Stored Procedures having a given text inside
- How to Create and Write Excel File in C#
- Extension Methods
- Microsoft Code Contracts
- VersaFix
- QuickFIX
- fix4net
- Converting String to Double in C#
- C# File Operations, C# Input Output (C# I/O)
2
1