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

Grep bug in paragraph-style

Participant ,
Jan 30, 2024 Jan 30, 2024

Hi.

 

I'm having an "unprecedented" problem with paragraph style GREPs.

It goes something like this:

- If you find a specific expression in this paragraph, please make it “color” (character style only with character color)

In this paragraph there are some expressions like: “Text1 & Text2”, “Text3 & Text4”, “Text5 & Text6”...

I assume the problem lies in that “&”. Because after I insert a condition and save the changes in my paragraph style, these words/expressions don't respond and in the GREPs the "&" changes by itself to "&&" or "&&&" -> like "Text1 && Text2". " or "Text1 &&& Text2".

I also tried “Text1\s\&\sText2”.  Same thing.

 

Does anybody have the same Problem?

 

regards

 

TOPICS
Performance
168
Translate
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

Participant , Jan 30, 2024 Jan 30, 2024

Thanks.

 

But it doesn't work either. I tried (Text\s)(\&)(\sText) and that seemed to be the solution. (until now)

)

Translate
Guide ,
Jan 30, 2024 Jan 30, 2024

No problem!

 

(Text\d+)\h&\h(?1)

 

(^/)  The Jedi

Translate
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
Participant ,
Jan 30, 2024 Jan 30, 2024
LATEST

Thanks.

 

But it doesn't work either. I tried (Text\s)(\&)(\sText) and that seemed to be the solution. (until now)

)

Translate
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