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

Batch Rename - 2nd Hyphen

Community Beginner ,
Jun 17, 2019 Jun 17, 2019

Copy link to clipboard

Copied

I feel like there's probably an easy answer to this question but I couldn't find one in my search. I need to change the 2nd hyphen in these file names to an underscore. How would I make Bridge skip the first hyphen? I've attached a screenshot.

Screen Shot 2019-06-17 at 10.47.23 AM.png

Views

489

Likes

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

Guide , Jun 17, 2019 Jun 17, 2019

2019-06-17_194200.jpg

From is:-

(.+-CHE)(-)(.+)

Or:

(.+-.+)(-)(.+)

Likes

Translate

Translate
Guide ,
Jun 17, 2019 Jun 17, 2019

Copy link to clipboard

Copied

2019-06-17_194200.jpg

From is:-

(.+-CHE)(-)(.+)

Or:

(.+-.+)(-)(.+)

Likes

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 Beginner ,
Jun 17, 2019 Jun 17, 2019

Copy link to clipboard

Copied

That works! Thanks.

Likes

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 ,
Jun 17, 2019 Jun 17, 2019

Copy link to clipboard

Copied

I’d usually use capture groups as in SuperMerlin’s examples as I find them more intuitive than lookarounds, however, I pushed myself to find an alternative:

Find: -(?=\d+)

Change: _

Likes

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 Beginner ,
Jun 17, 2019 Jun 17, 2019

Copy link to clipboard

Copied

LATEST

That works as well! Definitely saved me some time. THanks.

Likes

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