for example: file name is %songname% (prod... %prodname%), and so on in all files, is it possible to write some script for this case?
What do your tag fields look like?
It is usually much easier to re-write them from tag fields.
If there is no data in the tag fields, I would fill these first.
If you really want to fumble with the filename only, try Convert>Filenam-Filename:
Source mask: %1 (prod%2
Target mask: %1