Note, default Calibre import setting when getting metadata from filename is actually:
title - author
Regular expression (Preferences > Import/export > Adding books > Regular expression)
Code:
(?P<title>.+) - (?P<author>[^_]+)
You can certainly modify the regular expression to fit your needs (caveat, doesn't work with folder names afaik).
I think one of the pre-made options in the regex dropdown already include series in the format:
author - series 1 - title
Regular expression
Code:
(?P<author>[^_-]+) -?\s*(?P<series>[^_0-9-]*)(?P<series_index>[0-9]*)\s*-\s*(?P<title>[^_].+) ?