regular expression in BRC

Would you like Bulk Rename Command to offer new functionality? Post your comments here!

regular expression in BRC

Postby jeffhawke » Fri Dec 14, 2007 3:13 pm

Hi,

first of all a great thanks for a very useful utility, in windows we really missed something like this.

Now, I really would like to see BRC improved with complete support for regular expression the same way BRU is (I'm talking about box 1 in BRU).

Most of the time I can do my job with the options BRC already has but sometimes the need to do an effective

s/<PATTERN>/<REPLACEMENT>/

is high and I really could use its sheer power.

Thanks anyway for your nice work,
Jeff
jeffhawke
 
Posts: 2
Joined: Fri Dec 14, 2007 3:02 pm

Re: regular expression in BRC

Postby Admin » Fri Dec 14, 2007 3:16 pm

Hi Jeff,

it's something I've been meaning to add for a while, and it shouldn't actually be too involved. I just haven't found the time.

Perhaps over Christmas I'll get the chance to work on it.



Jim
Admin
Site Admin
 
Posts: 1502
Joined: Tue Mar 08, 2005 8:39 pm

Re: regular expression in BRC

Postby jeffhawke » Thu Dec 20, 2007 5:16 pm

Thanks for the reply, Jim, that would be great.

In particular, I'd like to be able to search for files with, say, a trailing ! and deleting every trailing ! (but not any inside !) with a single command.

with BRU I'd use the regular expression field (number 1) and:
match: !+(.*)
replace: \1

Quick and easy with regexp but tiresome and difficult without
jeffhawke
 
Posts: 2
Joined: Fri Dec 14, 2007 3:02 pm

Re: regular expression in BRC

Postby Stefan » Thu Oct 30, 2008 9:14 pm

Hi Jim and welcome back. All the best for the future.

I too would like to see an improved BRC , maybe you can put some effort in this issue :D

RegEx s///gic would be an big helper, especially with \U\L\E case-changing support.
Stefan
 
Posts: 736
Joined: Fri Mar 11, 2005 7:46 pm
Location: Germany, EU


Return to Suggestions