You'll need to create a regular expression to match the titles to metadata fields. There's a
tutorial available should you need it, specifically, you'll need to create named backreferences to the metadata fields. The supported field names are available as tooltips on the test fields in the preferences->adding books dialog.