title: NIFI JSON event extraction only integers from string
body: <p>I have a JSON data coming as <code>{"x":"avc123.abc.com"}</code>
  I would like to have a processor in nifi to extract only the integer (123) from the entire value and output it from the process</p>
  
  <p>secondly, I would like that integer value (123) to be added in the JSON event with different keys such as the final JSON event would be </p>
  
  <pre><code>{"x":"avc123.abc.com"
  "y":"123"
  }
  </code></pre>
  
  <p>I already tried <code>RouteText</code> and <code>ExtractText</code> processors but it didn't work.</p>