Rename only the first 4 characters

A swapping-ground for Regular Expression syntax

Rename only the first 4 characters

Postby stevetim » Thu May 21, 2020 2:24 pm

I have the following naming convention that I am looking to use: 0001_S1P1_NG. I will need to continually changed the first 4 characters without altering everything after it. I can't find this feature in the menu. Any ideas?
stevetim
 
Posts: 2
Joined: Thu May 21, 2020 2:20 pm

Re: Rename only the first 4 characters

Postby therube » Thu May 21, 2020 4:16 pm

5:Remove -> First: 4, will remove... the first 4.

Otherwise, don't know that you've given enough information to know if that alone works or if more may be needed?
therube
 
Posts: 843
Joined: Mon Jan 18, 2016 6:23 pm

Re: Rename only the first 4 characters

Postby stevetim » Thu May 21, 2020 5:52 pm

Yes that seems to work. I guess I missed that. I wasn't sure how to then rename them with the appropriate number but numbering with a prefix seemed to work. Thanks for your help
stevetim
 
Posts: 2
Joined: Thu May 21, 2020 2:20 pm


Return to Regular Expressions