Solved: String sub regex help – Adobe Product Community

Hi! I’m trying to rename a batch of images named similar to the following:

  • POS1112_SS26_PHONE_170X300MM.jpg
  • POS1118_SS26_ARCH_170X300MM.jpg

It’s a mix of JPGs and tiffs but they all follow the same layout as above. I only want to remove everything after the first underscore to leave them as-

I’m aware of regex but sadly don’t have a clue where to start with it. 

Thanks in advance!

Read more here: Source link