Re name

I want to rename 5 files in single folder.
202207A
202207B
202207C

Rename to: 202208A
202208B
202208C

You just need to replace the 7 with an 8?

do a For Each activity ‘item’ in ‘Array’:
Assign item to item.replace(“7”,“8”)

Does that solve it?

It can use for solution can u give me the code for rename multiple file

Hi @Ak_4

Check out the XAML file

RenameFiles.xaml (14.7 KB)

Regards
Gokul

Alternative method using Regex expression

System.Text.RegularExpressions.Regex.Replace(CurrentFile.ToString,"\d(?=\D)","8").ToString

Regards
Gokul

Thank for solution can u provide me screen shot of it.

Great @Ak_4

Do you have any other queries related to this subject?

If not, Kindly close this topic by mark as solved. it will help for others too.

Regards
Gokul

How we will solve without using rename file activity.

Check out this thread @Ak_4

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.