View Single Post
Old 03-01-2018, 09:20 PM   #4
jjquin
Junior Member
jjquin began at the beginning.
 
jjquin's Avatar
 
Posts: 9
Karma: 10
Join Date: Mar 2018
Device: Android - FBReader
The re_group command worked! I was able to search for each word followed by a period then replace it with the same word and a backslash. I was expecting to get a backslash at the end but its perfect!

{#genre:'re_group($,"([^.]+)\.","[[$]]/")'}

Fiction.Science Fiction.Space Opera - becomes - Fiction/Science Fiction/Space Opera
and
Non-Fiction.Manual.Appliance.Kitchen - becomes - Non-Fiction/Manual/Appliance/Kitchen

Now I just have to figure out how to write the plugboard to add this to the tags field. Any help would be appreciated!
jjquin is offline   Reply With Quote