Skip to main content
Participant
December 31, 2018
Answered

Search text and replace with character format

  • December 31, 2018
  • 1 reply
  • 928 views

I guess a Newbie question.

I like to seach for all text strings  "abc", "def, "zzzyyyyxxxxx"  and  replace it with a character style e.g.  abc, def, zzzyyyyxxxxx

Annette

    This topic has been closed for replies.
    Correct answer LinSims

    You're asking how to apply a character tag to a string of text?

    If so:

    1. Find the first instance of the text string you want to apply the character tag to.
    2. Apply the character tag.
    3. Click Edit > Copy Special > Character Tag
    4. On the Find/Change window, make sure your text string is in the Find box and that the Find dropdown is set to Text.
    5. On the  Find/Change window, select By Pasting from the dropdown list.
    6. Click Find to find the next instance of the text string.
    7. Click Change to apply the character tag.
    8. Once you're certain that you have these set up properly, you can click Change All. If there's any chance that there's an instance of that text string where you DON'T want it the character tag applied, continue using Find/Change to apply it to individual instances.

    1 reply

    LinSims
    Community Expert
    LinSimsCommunity ExpertCorrect answer
    Community Expert
    December 31, 2018

    You're asking how to apply a character tag to a string of text?

    If so:

    1. Find the first instance of the text string you want to apply the character tag to.
    2. Apply the character tag.
    3. Click Edit > Copy Special > Character Tag
    4. On the Find/Change window, make sure your text string is in the Find box and that the Find dropdown is set to Text.
    5. On the  Find/Change window, select By Pasting from the dropdown list.
    6. Click Find to find the next instance of the text string.
    7. Click Change to apply the character tag.
    8. Once you're certain that you have these set up properly, you can click Change All. If there's any chance that there's an instance of that text string where you DON'T want it the character tag applied, continue using Find/Change to apply it to individual instances.
    Participant
    December 31, 2018

    Thank you. A part of the problem is sokved,  I can change a string to a new character tag...

    .... if I new the string.

    I may have a search problem.

    I don´t know the complete string. I just know, that the string starts with " and ends with "      e.g. "Hallo",  an other string could be "Good bye"

    Any idea?

    Participant
    December 31, 2018

    I fixed the "search" problem myself.

    Search for  *" *"

    Thank you