Ok, I'm not where I can get to my regex software, but as near as I can tell from the expression...
It seems that you've been greedy (the + operator) without giving back at the end. So effectively you use the entire filename for the first expression test (Author), but it fails because it is not supposed to have a tilde in it.
You need to make use of the "give back" operator to release portions of the filename to limit it to just the Author portion. Unfortunately I cannot remember the operator at the moment, nor the "phrasing" for doing so.
|