View Single Post
Old 03-15-2021, 12:31 PM   #3
jelzin
Junior Member
jelzin began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2014
Device: Kobo Aura HD
Thanks chaley, you made my day!

I took it a step forward to create a hierarchy date format with this code:

Code:
program:
 list_split(list_re(field('tags'), ',', '\d{4}-\d{2}-\d{2}', '') , '-' , 'vars');
 strcat(vars_0,'.',vars_1,'.',vars_2)
This will change the extracted date (eg. 2021-03-15) to 2021.03.15

It may not be the nicest code but it works!
jelzin is offline   Reply With Quote