View Single Post
Old 12-15-2023, 05:00 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,981
Karma: 56143930
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
REGEX = Regular Expression (The Wiki has some info on learning it)
You use REGEX here to create patterns (suitable to your input source) that you can capture and Manipulate.
You have 3 things you want to Capture
Title
Series name
Series Index (numeric only) ignoring 'Book #'
You are going to put \2 (the second captured item) into {series}
You are going to put \3 (the second captured item) into {series-index}
Then you want \1 into {title}

The \# are the captures L->R
theducks is online now   Reply With Quote