I am having some problems with regexp_extract:
I am querying on a tab-delimited file, the column I\'m checking has strings that look like this:
abc.d
I think you have to make 'groups' no?
select distinct regexp_extract(name, '([^.]+)', 1) from dummy;
(untested)
I think it behaves like the java library and this should work, let me know though.