Search & Replace RegExp replacement not working

We have a ton of File Copy actions with hard-coded file names (don't ask why). I tried to use "Search & Replace" to do a global replacement for recently renamed files.

Given a file path name that ends like:
foo\Ver3MyFile.dll
I want it make it like:
foo\Ver%NEW_VER%MyFile.dll

I also want to ignore files that have an "F" after the 3 like:
foo\Ver3File.dll

So I tried a source of:
foo\\Ver3([^F][\w]+)\.dll
with a replacement of:
foo\\Ver%NEW_VER%$1.dll

What I got was:
foo\Ver%NEW_VER%$1.dll

It doesn't do what the FB5 help calls "sub-expression" replacement. What's wrong?

FYI: We use FB5.5.

Thanks - Michael

Hi Michael,

The sub-expression replace is actually a FinalBuilder 6 feature (we accidently had some FB6 topics leak into the FB5 help file a while back).

I’ve confirmed that the syntax and functionality of your above example does work in FB6.

cheers,
tate.

Thanks,

We might be ready to upgrade this summer.