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

Need help with GREP

New Here ,
Jul 20, 2023 Jul 20, 2023

Copy link to clipboard

Copied

Hi All,

I had a issue while using GREP, While replacing the manual bulleted paragraph to bullet styled paragraph,

I have used the below:

Find What:

^ ·\t(.+)$

Change to:

$1

Change Format: 

Main_Txt_Bullets (paragraph style)

When I replace by option "change" one by one all the instances change clearly

While using "change All" option, the initial letter of roman word followed by italic word changes to italics.

Kindly help me to rectify & suggest me what went wrong?

Screenshots below steps:

Before Use of GREP.png

 

Grep Style.png

After Use of GREP.png

 

TOPICS
How to

Views

376

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 ,
Jul 20, 2023 Jul 20, 2023

Copy link to clipboard

Copied

Can you share a sample InDesign document to test with

-Manan

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 ,
Jul 22, 2023 Jul 22, 2023

Copy link to clipboard

Copied

Hi Manan,

Extremely Sorry for the late response!

Find the idml file attached.

RajeshGeorge

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 ,
Jul 22, 2023 Jul 22, 2023

Copy link to clipboard

Copied

There is no file attached

-Manan

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 ,
Jul 22, 2023 Jul 22, 2023

Copy link to clipboard

Copied

find the attachment

Regards
RajeshKG

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 ,
Jul 22, 2023 Jul 22, 2023

Copy link to clipboard

Copied

I am not sure what is wrong here, but I can't see your attachement. Are you checking your post after posting, do you see the attachement?

-Manan

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 ,
Jul 22, 2023 Jul 22, 2023

Copy link to clipboard

Copied

Hi Manan,

While attaching the file it show, after posting it didn't.

If you dont mind can i get your mail id

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 ,
Jul 22, 2023 Jul 22, 2023

Copy link to clipboard

Copied

Upload it on a cloud service like Dropbox and share the public link here.

-Manan

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 ,
Jul 22, 2023 Jul 22, 2023

Copy link to clipboard

Copied

Hi Manan,

Can you please check file from the one drive link below.

 

Sample.idml

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 ,
Jul 22, 2023 Jul 22, 2023

Copy link to clipboard

Copied

I think there's a oddity with this that I've noticed before, it's somehow capturing the italic style

You don't need all this

^ ·\t(.+)$

 

You just need

^ ·\t

 

 

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 ,
Jul 22, 2023 Jul 22, 2023

Copy link to clipboard

Copied

Hi Tyson,

I planned to do both style replace & remove the "manual bullet with tab" at once, that's the reason, to used the expression.

If, I proceed change one by one it replaces clearly, It happens when i used change all option only.

 

Rajesh George  

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 ,
Jul 22, 2023 Jul 22, 2023

Copy link to clipboard

Copied

I don't know 

Would need to see the file.

 

To remove the bullets - remove the formatting info in the panel 

Then run the find replace again

=====================

My guess is that perhaps the Bullet character in the bullet style perhaps has italic setting

And this is passing on the italic to the first character.

 

Which it shouldn't.

 

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 ,
Jul 22, 2023 Jul 22, 2023

Copy link to clipboard

Copied

Hi Tyson,

Can you please check file from the one drive link below.

 

Sample.idml

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 ,
Jul 23, 2023 Jul 23, 2023

Copy link to clipboard

Copied

I see what you mean... how odd

The italic text is changing - that's got to be a bug

https://indesign.uservoice.com

 

In the meantime doing the 2 step works

as I described before.

 

I can't figure out why it's doing that. 

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 ,
Jul 23, 2023 Jul 23, 2023

Copy link to clipboard

Copied

Hi Tyson,

Thanks alot of your effort!

RajeshGeorge

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
Contributor ,
Jul 23, 2023 Jul 23, 2023

Copy link to clipboard

Copied

Yes, it is definitely doing something odd. It's like by removing two characters (the manual bullet and the tab) the character style 'italic' has been shifted by two characters. You can also see the the word 'bison' at the start of the italic text has lost the italic format on the first two letters.

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 ,
Jul 23, 2023 Jul 23, 2023

Copy link to clipboard

Copied

Yeh noticed that too - if you make the space before the italic, after the : . Then do the find replace all - it changes back to a regular font and only 1 letter of the italic.

So by removing 2 characters the italics is shifting per character.

 

Which has to be a bug.

 

I've never noticed this because I always do 2 step find and replace - find to add the paragraph style of just the bullet tab and apply the style.

Then find replace to remove the bullet and the tab.

 

It's strange behaviour.

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
Guide ,
Jul 24, 2023 Jul 24, 2023

Copy link to clipboard

Copied

Just Find: ^.\t(.)

 

(^/)  The Jedi

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
Contributor ,
Jul 24, 2023 Jul 24, 2023

Copy link to clipboard

Copied

LATEST

@FRIdNGE That's just a perfect solution. :red_triangle_pointed_up:

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