• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Search text and replace with character format

New Here ,
Dec 31, 2018 Dec 31, 2018

Copy link to clipboard

Copied

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

Views

525

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Dec 31, 2018 Dec 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
...

Votes

Translate

Translate
Community Expert ,
Dec 31, 2018 Dec 31, 2018

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 31, 2018 Dec 31, 2018

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 31, 2018 Dec 31, 2018

Copy link to clipboard

Copied

I fixed the "search" problem myself.

Search for  *" *"

Thank you

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Dec 31, 2018 Dec 31, 2018

Copy link to clipboard

Copied

LATEST

Hi Annette:

I just wanted to chime in with one more idea, in case you run into other find/change issues that you can't solve with a generic wildcard.

You can also a regular expression—which match patterns and not specific text. It's like the wildcard character you discovered, but a lot more powerful. You could match just digits or uppercase letters or any other discernible pattern.

For your specific situation (matching any string in quotes):

Find: ".*?"

Change: By Pasting

Screen Shot 2018-12-31 at 9.55.19 AM.pngScreen Shot 2018-12-31 at 9.55.51 AM.png

~Barb

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines