Page 1 of 1

Help to remove date

PostPosted: Mon Apr 01, 2019 3:35 pm
by abedooo
hello
i've many files format such

myfile (2019-03-31 2_50_53 PM).html
myfile (2019-04-01 10_03_17 AM).html

i want to remove all number and letters that is between ()
thanks :)

Re: Help to remove date

PostPosted: Mon Apr 01, 2019 9:24 pm
by therube
See if this gets it...

1:RegEx
Code: Select all
Match:  (.*)\s\(\d\d\d\d-\d\d-\d\d\s.*[AP]M\)
Replace:  \1



Note that using your sample file names, if they are in the same directory, you'll end up with "duplicates".
Renaming Options -> Prevent Duplicates, may help in that regard.

Re: Help to remove date

PostPosted: Tue Apr 02, 2019 11:38 am
by abedooo
Wow
thank you so much
worked :)