Remove First Character and Comma Delimiter from header line csv using Apache-NiFi
<p>I'm newbie in Apache-Nifi topic.</p>

<p>I have a csv with value :</p>

<pre><code>id | title | value
a  | Mr    | 391
b  | Mrs   | 392
</code></pre>

<p>I use replaceText processor for ensure the header line with <code>"#"</code> as replace value and replacement strategy : <code>Prepend</code> and Evaluation Mode : <code>Entire Text</code>.
Then I use routetext to get the headerline with configuration : Grouping Regular Expression : <code>(.*?),.*</code> and new property named <code>header line</code> with value <code>#</code>.</p>

<p>The result from those process is : "#id,title,value</p>

<p>I want to remove <code>#</code> and <code>,</code> from that result. How to do that?</p>

<p>Thanks</p>