View Single Post
Old 07-26-2020, 08:39 AM   #3
vargr
Member
vargr began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Oct 2019
Device: paperwhite; android
Quote:
Originally Posted by chaley View Post
One of these should do it. Using general program mode:
Code:
program: list_re(field('#text'), '/', '^(.*)\b.*$', '\1')
Using template program mode:
Code:
{#text:'list_re($, '/', '^(.*)\b.*$', '\1')'}
thanks for the quick reply! unfortunately both of these are giving me the full names still...
vargr is offline   Reply With Quote