Quote:
Originally Posted by jjquin
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
|
Awesome!
Note: / is a forward slash. A
backslash goes the other way: \