Quite simple really.
If you have 1 opening ( there needs to be the same on the other side. So 3 x ( and 3 x ) on the right.
The syntax for one replace fn is:
$replace(string,from,to)
So two replace functions is:
$replace($replace(string,from,to),from,to)
Three is:
$replace($replace($replace(string,from,to),from,to),from,to)
.. and so on. The fn just so happens to lie outside.
I also write 3ds Max scripts with maxscript and it's syntax for functions is:
fn dosomethingcool = (
place some cool code here
)
And then:
dosomethingcool()
which will run that function.
Each coding syntax is different. Much like English vs. Dutch ![]()
Try this on your files:
$filename(C:\Test Export on $regexp(%_date%,'(\d\d)/(\d\d)/(\d\d\d\d)','$3-$2-$1').txt,utf-8)
TEST EXPORT on $regexp(%_date%,'(\d\d)/(\d\d)/\d\d(\d\d)','$1-$2-$3')
-------------------------------------
$loop($replace($replace($replace(%path%,'[',1),'(',2),'{',3))
%title%$loopend()
I've tried it with:
Song
Song [Info]
Song (Info) [Info]
Song (Info) {Info}
Song (Info) Part 2 {Info} [Info]
Song {Info}
Song Part 2
Song Part 2 {Info}
And it's output is the same as the fields:
TEST EXPORT on 29-10-16
-------------------------------------
Song
Song [Info]
Song (Info) [Info]
Song (Info) {Info}
Song (Info) Part 2 {Info} [Info]
Song {Info}
Song Part 2
Song Part 2 {Info}