It might be over-kill, but you could use Apache UIMA -
https://uima.apache.org/d/uima-as-current/apidocs/org/apache/uima/camel/UimaAsEndpoint.html

On Fri, Nov 25, 2016 at 11:33 AM, Jan Matèrne (jhm) <apa...@materne.de>
wrote:

> I dont think that there is such a component.
>
> Unless you have validated the input you can't rely on a structure.
> So I would write a simple bean which parses the text. E.g. using the regexp
> you mentioned.
>
>
> Jan
>
> > is there any component which helps me to parse plain text? Not JSON,
> > XML or CSV.
> >
> > My use case is that I receive an E-Mail with multiple keywords in the
> > Subject as well as in the body.
> >
> > I could not find any component that would help me to parse certain
> > values from my multiline plaintext.
> >
> > I need something like freemarker but the other way around. Getting the
> > fulltext and parsing certain values from this text (for example with
> > regex).
>
>

Reply via email to