Regular expression to split comma separated values
with test as (select '5/10/2007,36352737,,"first_name, last_name Jr.",211001,7204,-75.00' str from dual) Select regexp_substr(str,'".*"|[^,]+', 1, level) from test connect by regexp_substr(str,'".*"|[^,]+', 1, level) is not null
No comments:
Post a Comment