You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by idioma <co...@gmail.com> on 2016/04/29 15:31:52 UTC

ExtractText Usage

Hi,
in a process converting .dsv files into Json, I would like to ExtractText to
match all columns' names and extract the columns' values. Is that possible?
I have tried a simple test when I am simply matching the column name by
setting a new property called regex.1 = $filename:find('Heading1')} and
another called heading1 that maps to regex.1. This was a simple test and I
was supposed to be able to extract Heading1, but instead I am returning with
an error with saying "Regex is required to have between 1 and 40 Capturing
Group, but have 0' . How should I use regular expressions in NiFi? Is this
feasible to use ExtractText to match the required columns' values by column
name? 

Thank you



--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/ExtractText-Usage-tp9726.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.