Parse_url and str_to_map may offer an alternative worth looking into. On Dec 26, 2012, at 1:50 PM, Dean Wampler <dean.wamp...@thinkbiganalytics.com> wrote:
> Hive uses Java's regex API. This tutorial provides an excellent introduction. > > http://docs.oracle.com/javase/tutorial/essential/regex/ > > dean > > On Wed, Dec 26, 2012 at 12:46 PM, qiaoresearcher <qiaoresearc...@gmail.com> > wrote: >> Assume there are strings like >> >> 'afewexcvgregre&MovieTitle=321grgrdg&olfll3onsl' >> >> or >> >> '?MovieTitle=949303sjkskld&sososodn' >> >> >> how to extract 'MovieTitle=321grgrdg' or 'MovieTitle=949303sjkskld' using >> Hive reg expression functions >> >> >> thanks >> and happy holidays > > > > -- > Dean Wampler, Ph.D. > thinkbiganalytics.com > +1-312-339-1330 >