Hi (again),
I want to do a regex prior to parsing into metadata in a Universal Data Reader. That is, I want to convert "|" to "-" while reading, prior to parsing into the individual fields in the metadata. What I don't want is to have to iterate over each field after the parse.
Is there an easy way to do this?
Thanks
Jay
I want to do a regex prior to parsing into metadata in a Universal Data Reader. That is, I want to convert "|" to "-" while reading, prior to parsing into the individual fields in the metadata. What I don't want is to have to iterate over each field after the parse.
Is there an easy way to do this?
Thanks
Jay
-
Hi Jay,
you can transform your data before parsing with Input Port Reading feature. Example of such approach you can find in attached graph. Don't forget to set eofAsDelimiter="true" on the last field as the eol is stripped out by first Reader.
Please sign in to leave a comment.
Comments 1