Originally Posted by Perkin
This should work for this use.
Set the regex to
(?P<title>.+) (?P<author>.+ .+)
Hope that works for you.
Edit: This will only work for authors with two names, not ones with three, such as Dr. or Jnr. etc.
Thank you for the code!
I just finished manually adding all my docx files to calibre, but I tested your regex suggestion, and it appears to work perfectly! I'll definitely use that in the future whenever I'm bringing more docx files into calibre. Thanks a lot for your help!