Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Oracle regular Expressions - Split the string into words

user13074471Nov 22 2015 — edited Nov 22 2015

Hello

Good Day!

My requirement is to split the string into words.

So I need to identify newline charactor and semicolon (;) ,comma and space as terminator for input string.

Please note I'm currently incorporated blank and comma as seperator as shown below.

select regexp_substr('test
to
string into words', '([^,[:blank:]]+)', 1,  1) from dual;

How do i incorporate newline charactor and semicolon in Oracle Regular expression?

Please advise.

Thanks & Regards

Sree

This post has been answered by Solomon Yakobson on Nov 22 2015
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 20 2015
Added on Nov 22 2015
4 comments
821 views