Question about Regular Expressions


#1

I am new to this program, and unfamiliar with the ways of coding the expressions, and would appreciate any help. What I need to do is replace the Album Field with the Title for all Album fields that match a certain criteria. Specifically, I need to replace the generic 'lecture' album with the title of the lecture on about 2000 files. Thanks in advance!


#2

That's not possible with Regexp, you can't copy the content of one field to another one.

But it should work with the action type "Format value"

The basic thing would look like this:
Action type: Format value
Field: ALBUM
Format string: %title%

This would require that you have only selected the files which you want to change.
You could use the filter [F3] to achieve this.

Or the format string can have a scripting:
$if($eql(%album%,lecture),%title%,%album%)


#3

Thank you so much! That's exactly what I needed!