Renaming folders with total amounts in them...

A swapping-ground for Regular Expression syntax

Renaming folders with total amounts in them...

Postby allenm » Mon Apr 11, 2016 3:14 pm

Look at these couple examples of the name of a folder (I have 100+ folders within the tree)...
$1125.80 - Business Internet-Static IPs
$713.65 - Shop Tools-Supplies

I'd like to rename them where the amount as well as the period is not there...
$ - Business Internet-Static IPs
$ - Shop Tools-Supplies

I have tried everything with no luck. This appears way above my pay grade. Any help is greatly appreciated. Thank you!
allenm
 
Posts: 1
Joined: Mon Apr 11, 2016 3:01 pm

Re: Renaming folders with total amounts in them...

Postby Admin » Tue Apr 12, 2016 3:08 am

Try using RegEx (1):

Match:
\$(.*) -(.*)

Replace:
$\2

thanks
Admin
Site Admin
 
Posts: 1505
Joined: Tue Mar 08, 2005 8:39 pm


Return to Regular Expressions