Need help with finding the last occurrence of a character.

A swapping-ground for Regular Expression syntax

Need help with finding the last occurrence of a character.

Postby paw1 » Sat Aug 30, 2014 9:24 am

I'm new to RegExps and need help with the following scenario : I want to rename multiple files such that all text before the last occurrence of the character "O" is removed.

ex. "RH_O1_6D O1234" -> "O1234

I'd like to run the command from the folder context menu so that all files in the current folder are renamed as above. Any help would be appreciated.

Thanks.
paw1
 
Posts: 1
Joined: Sat Aug 30, 2014 9:18 am

Return to Regular Expressions