Share via

Find a replace text between a space and a colon (Word 2006)

JMGN 0 Reputation points
2026-03-09T16:26:38.1666667+00:00

I am on Word 2006.

I need to find and replace all the several sequences of characters between a space (next comes an uppercase letter) and a colon before the next space. For example, the text in bold:

You usually do? Lupin: It's just the football...

resulting in the following text:

You usually do? It's just the football...

I've been trying with wildcards but cannot come up with the right combination. Maybe a macro is needed instead?

Thnx.

Microsoft 365 and Office | Word | For home | Windows
0 comments No comments

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-09T16:26:50.28+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Use Word’s wildcard Find and Replace; no macro is required.

    Assuming the pattern is:

    <space><UPPERCASE...any characters...>:

    and you want to change or remove the text between the space and the colon, do this (Word for Windows):

    1. Press Ctrl+H to open Replace.
    2. Select More and check Use wildcards.
    3. In Find what, enter:
         ([ ])([A-Z]@)(:)
      
      Explanation (per Word wildcard rules):
      • [ ] – a literal space.
      • [A-Z] – any uppercase letter.
      • @ – one or more occurrences of the preceding expression.
      • (:) – the colon, captured as a separate group.
    4. In Replace with, enter what is needed. Examples:
      • To delete the text between the space and the colon but keep the space and colon:
             \1\3
        
        \1 = the space, \3 = the colon.
      • To replace that text with a fixed word (for example, X):
             \1X\3
        
    5. Click Replace or Replace All.

    If on macOS Word, open Advanced Find & Replace, check Use wildcards, and use the same patterns in Find what and Replace with.


    References:

    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.