How do I remove a space before the extension?

A swapping-ground for Regular Expression syntax

How do I remove a space before the extension?

Postby DivePADI » Fri May 04, 2018 2:33 pm

I have a list of files that for the most part have a space before the extension. I was trying to do a replace by using Replace " .txt" with ".txt" but BRU doesnt seem to interact with extensions, perhaps a safety feature?

Is there a way to do this?
DivePADI
 
Posts: 1
Joined: Fri May 04, 2018 2:26 pm

Re: How do I remove a space before the extension?

Postby therube » Fri May 04, 2018 4:20 pm

5:Remove ---> Trim
(will remove leading & trailing spaces).

Alternatively, you probably could have used what you started with - along with toggling the setting in Renaming Options -> Ignore.
therube
 
Posts: 1314
Joined: Mon Jan 18, 2016 6:23 pm


Return to Regular Expressions