View Single Post
Old 09-27-2021, 04:12 PM   #1
Ted Friesen
Enthusiast
Ted Friesen began at the beginning.
 
Posts: 42
Karma: 10
Join Date: May 2016
Device: Kindle
Question Move metadata between fields (Regex SR)

Is it possible to extract a number, say #139 using (\#)(\d+) from a title field and use the second group (the digits) as a series number. And how would I specify the series name?

This is for a magazine series with the volume number embedded in the title and I'd rather use that as a series number rather than part of the title.

Regex isn't responding as I thought it should. I tried (.*?)(\#)(\d+)(.*?) from "title" field, thinking I could replace \3 to the "series" field. But that doesn't remove anything from the title and makes a new series with groups 3 and 4. So for a bulk SR I'd end up with a separate series for each issue.
Ted Friesen is offline   Reply With Quote