Renaming multiple files inside one Folder

Hi @heinzawhtooaung

You can Extract the Name by eleminating the further details using Regex and String Manipulation as shown below :-

image

Regex :-

.+(?=_\d{14})

String Manipulation :-

item.ToString.Substring(0,(item.ToString.IndexOf(item.ToString.Split("_"c)((item.ToString.Length-item.ToString.Replace("_","").Length)-1)))-1)

Below is the workflow for the same :-
MainPratik.xaml (9.3 KB)

Output :-
image

To Rename you can use Rename File Activity :-
image

Download the below package for the same :-

Mark as solution and like it :slight_smile:

Happy Automation :raised_hands:

Best Regards
Er Pratik Wavhal :robot::man_technologist:t4: :computer:

1 Like