I'm trying to exclude files starting with characters ~$ from archiving using the regex.
Example of directory contains files:
- ~$file01.txt
- ~$file02.txt
- file01.txt
- file02.txt
So, I want find all the files in dir that start with "~$", and I've tried the following regex but files are still not excluded
.*/~[^/]*
What's wrong with this?
It is software that archiving files.
I want to exclude from archiving the filenames starting with ~$.
All files will be archived, only files starting with ~$ will not be.
In this software, there is option to add regular expression to exclude files from archiving.
regular-expressions.info link is part of the software documentation, but I don't know how to write the needed regular expression.
Can you help me, please?

~$, why is the second character set to be anything other than/. Can you tryecho ./~\$*?