Yes, it worked. But the string was as follow /^~\$*.*/ !!! This format is not intuitive to the people that do not work with programming, so I suggest to accept the easier format ~$*.* for the general user.
I have tried the following strings: ~$*.* and /^~\$*..*/ because the file have the filename as ~$xxxxxxxxetcxxx.yyy. Both have not worked.
I have tried the following strings: ~$. and /^~\$../ because the file have the filename as ~$xxxxxxxxetcxxx.yyy. Both have not worked.
Exclude These Files does not work