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

GREP Styles: Find/Replace Colour and Stroke Widths in Illustrator

New Here ,
May 15, 2025 May 15, 2025

Hello Adobe Community,

In my experience, find/replace (GREP) in inDeisgn is a great way to save time when formating text unifromally  in large documents.

I am unsure if this is possible, but I am aware that find/replace (GREP) can be conducted in Illustrator, but can I apply something similar to vector objects?

For example: A company needs to update their old illustrations to their new internal design styling. These assets are not linked to an asset library. It is projected that hundreds of assets will need adjusting, specifically, these assets will need the stroke of images adjusted from 0.50 pt to 1 pt and the colour of the stroke needs to be changed to adhere to their new black. 

I know this is a long shot, but any guidance would be appreciated.

Thank you!

TOPICS
Experiment , How-to , Scripting , Third party plugins
186
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

Community Expert , May 15, 2025 May 15, 2025

Hi @megan_0350,

There is an option to select the same stroke weight. Once you've selected the same stroke weight, while selected, you can then change the colour to the new black.

Screenshot 2025-05-15 at 4.11.08 PM.png

Translate
Adobe
Community Expert ,
May 15, 2025 May 15, 2025

Hi @megan_0350,

There is an option to select the same stroke weight. Once you've selected the same stroke weight, while selected, you can then change the colour to the new black.

Screenshot 2025-05-15 at 4.11.08 PM.png

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
New Here ,
May 16, 2025 May 16, 2025
LATEST

Hey Tina,

Thanks for the reply! 

I was unable to edit my post, but I am aware of the "Same" functionality. 

I was hoping to find a GREP solution to speed up the process, as there would be thousands of assets to edit. 

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
Enthusiast ,
May 16, 2025 May 16, 2025

With ExtendScript, we can find paths in a document with a stroke and adjust their thickness. You can specify the conditions for finding and replacing thicknesses using the algorithm. The same applies to color. These tasks are quite simple for scripts, so modern AI assistants can write error-free working code. You have described a general task, and I can confirm that it can be solved by scripts. You can also automate batch processing so that the scripts open all the files in a folder, change the strokes and colors, and save them.

 

You may be able to get help here if you provide more details about the kind of help you want from the community.

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