Quote:
Originally Posted by vargr
thanks for the quick reply! unfortunately both of these are giving me the full names still...
|
Oops. That will teach me to "improve" the regex without testing it.
The correct templates are
Code:
program: list_re(field('#text'), '/', '^(..*?)\b.*$', '\1')
and
Code:
{#text:'list_re($, '/', '^(..*?)\b.*$', '\1')'}