Right, please study what I've shown you such as the videos and links.
^ in regular expressions needs to be escaped by using ^ to find it as a literal
^ on it's own simply means match beginning of string.
I've given a website in this thread and also a simple google will come up with lots more websites to try/learn it. The above would be in the first page of any regular expression page explaining literals. Like: http://www.regular-expressions.info/characters.html
http://www.regular-expressions.info/tutorial.html is a good link to learn. It's where I did. Back then YouTube didn't but you've a lot of places to learn it now.
If you try this URL you'll also find what you're looking for to test your regexp http://bfy.tw/8frA
Regarding your crazy syntax:
$replace($replace($replace($replace($replace($replace(%_FILENAME%,'[',1),'$regexp(something ^\d)',2),'$regexp(something #\d)',3),'(',4),'{',5),'+',6)
I showed you the correct syntax here:
Brackets display order - [ ] ( ) { }
To end this thread for me:
Google 'regular expression ^ as literal' and I bet it'll come back with ^ or an explanation for it, that it's a special character used in regular expressions.
This is the working one I've came up with based on your 5 different examples, colour coded and all.
$replace($replace($replace($replace($regexp($regexp($regexp(%title%,'^(.?[^^#[({+]+?$)',1$1),'^\d',2),'#\d',3),'[',4),'(',5),'{',6),'+',7)
NOTICE the position of the $regexp in relation to the regular expressions on the right.
It works from the %title% to the left and to the right and from the red text inwards. Look at the part of the thread here showing correct syntax.
Anyway the above code does this sorting: I'm not sure of this is right because every example you come up with is different.
So, for your export:
$filename(C:\Users\username\Desktop\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($replace($regexp($regexp($regexp(%_filename%,'^(.?[^^#[({+]+?$)',1$1),'\^\d',2),'#\d',3),'[',4),'(',5),'{',6),'+',7) $replace($replace($replace($replace($regexp($regexp($regexp(%artist%,'^(.?[^^#[({+]+?$)',1$1),'\^\d',2),'#\d',3),'[',4),'(',5),'{',6),'+',7))
%title%$loopend()
Will now export:
Song
Song ^0
Song #0
Song [
Song (
Song {
Song +
Song A ### by performer ### Band X
Song A [] ### by performer ### Band X
Song A () ### by performer ### Band X
Song A () ### by performer ### Band Y
Song A () ### by performer ### Band Z
Song A {} ### by performer ### Band X
Song A + Song B ### by performer ### Band X
Song A Part 2 ### by performer ### Band X