Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

regexp_substr

465486Oct 26 2007 — edited Oct 29 2007
Hello Gurus

I'm trying to extract 10999 from the string bellow with regexp, but

select regexp_substr('Fast10999/2/3/4','[0-9]+/') from dual

returns "10999/". How can I say something like return me the string of digits BEFORE the first slash?

Thank you all very much,
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 26 2007
Added on Oct 26 2007
13 comments
15,870 views