I'd like to rename many, many files like in the following example:
- Code: Select all
- Case #1412 - Baptist Memorial Hospital - Variance.pdf
46 Ridgewood Manor Drive - Case # 1355 - Williams, Anne Tillman - Variance.pdf
108 Hwy 314 - Case # 1139 - Durham, Jay - Special Exception.pdf
(yes the - is intentional in the first filename)
to this:
- Code: Select all
1412.pdf
1355.pdf
1139.pdf
Basically, there is a "Case #" followed by a series of numbers somewhere in each filename. They are not always in the same location. All I want to extract is the numbers following the "Case #" and retain the .pdf extension. Would love some help! Cheers