Good morning devs
I have a flowfile which contains a space separated log file, within this file
is a section such as:-
FileSelectors:[{fileselector:<filename>},{fileselector:<filename>},{fileselector:<filename>}]
I would like to create an attribute which is the count the number of
occurrences of the word fileselector and ideally another attribute which is the
filenames in one list, although this one is just a nice to have. I have made
the whole phrase an attribute and then tried various things in the expression
language but nothing seems to work.Can anyone help please ?
Many thanksĀ Dave