Hi Prashant, I knew about REPLACE, but it's not sufficient for what I need. I actually need a proper regex functionality. I'll try to write my own UDF I guess.
Thanks for your reply, Grig On Tue, Jan 3, 2012 at 1:28 AM, Prashant Kommireddi <[email protected]> wrote: > Hi Grig, > > Have you tried the REPLACE UDF? > http://pig.apache.org/docs/r0.9.1/api/org/apache/pig/builtin/REPLACE.html > > Thanks, > Prashant > > On Wed, Dec 21, 2011 at 12:08 PM, Grig Gheorghiu > <[email protected]>wrote: > >> I know regex matching is provided via EXTRACT, but is there any such >> functionality for regex substitution? Or do I need to write my own UDF >> for that? >> >> Thanks, >> >> Grig >>
