A line into several lines

Hello

In a table, there is a line like this:


POLICIES OF NM
---- --------------
SirketKullanicilari Web report: x-r-t
TramerKullanicilari: x-r-t
TramerCognosAdmins: x-r-p-t-w
TramerReportAdmins: x-r-t-w

There is a record of the line and I need to insert this disc as 4 rows as below the statement. In the policy column, there are 4 lines and separated by Chr (10).

POLICIES OF NM
---- --------------
SirketKullanicilari Web report: x-r-t
TramerKullanicilari Web report: x-r-t
TramerCognosAdmins Web report: x-r-p-t-w
TramerReportAdmins Web report: x-r-t-w

Welcome to the forum.

SQL> create table t as
  2  select 'Web Report' nm
  3  ,      'SirketKullanicilari: x-r-t'||chr(10)||
  4         'TramerKullanicilari: x-r-t'||chr(10)||
  5         'TramerCognosAdmins: x-r-p-t-w'||chr(10)||
  6         'TramerReportAdmins: x-r-t-w' policies
  7  from   dual;

Table created.

SQL> select * from t;

NM         POLICIES
---------- -----------------------------------
Web Report SirketKullanicilari: x-r-t
           TramerKullanicilari: x-r-t
           TramerCognosAdmins: x-r-p-t-w
           TramerReportAdmins: x-r-t-w

1 row selected.

SQL> select nm
  2  ,      regexp_substr(policies, '[^'||chr(10)||']+', 1, rn) policy
  3  from   t
  4  cross join (select rownum rn
  5              from ( select max(length(regexp_replace(policies, '[^'||chr(10)||']+'))) + 1 mx
  6                     from   t
  7                   )
  8              connect by level <= mx
  9             );

NM         POLICY
---------- -----------------------------------
Web Report SirketKullanicilari: x-r-t
Web Report TramerKullanicilari: x-r-t
Web Report TramerCognosAdmins: x-r-p-t-w
Web Report TramerReportAdmins: x-r-t-w

4 rows selected.

Borrowed from http://nuijten.blogspot.nl/2011/08/splitting-comma-delimited-string-regexp.html

Be sure to read:
{message: id = 9360002} so that you know how to post to the format examples etc.

Tags: Database

Similar Questions

  • Number of Splittling into a field into several sections

    Hello

    I is currently working on a project where a user enters the required information on the digital registration form, what auto and then fills the data entered on multiple documents. While the majority of data preserves the integrity of format in any of the documents, I am running issues with documents that deviate from this format to standard input. For example, when users enter the following numbers, they are entered in a single line of text:

    Input Field.PNG

    However, the output on a required document divides these figures into several sections:

    Output Field.PNG

    The output document is not managed by my business and I can't make changes to the formatting of the document. Can someone help me find a way to divide the single line of text in the fields as shown camps?

    If you import the form data in the second form, create the NCPDP field # and make it hidden. The visible fields to create three to contain all three parts of the number, for example: NCPDP2.1, NCPDP2.2, and NCPDP2.3

    You can then use a custom for the hidden field of NCPDP validation script is something like the following:

    Custom validation script

    (function () {}

    Do nothing if the field is empty

    If (! event.value) return;

    Fill in the other fields if the length of the string is correct

    If (event.value.length = 7) {}

    getField("NCPDP2.1").value = event.value.slice (0, 2);

    getField("NCPDP2.2").value = event.value.slice (2, 6);

    getField("NCPDP2.3").value = event.value.slice (6).

    } else {}

    What do you do here if the length of the string is not 7?

    }

    })();

    Search for the string slice method in any reference decent JavaScript for more information on its operation. Note that you can make the subfields in the fields of combs to match the spacing of the boxes.

  • dissection of an image into several pieces at a time

    Hello forumers.

    I'd like know if I can dissect a picture into several pieces at a time, as in illustrator I can use the tool.ive pathfinder makes a picture with a box

    and as you can see there the lines guides, is there a command in the ps that can make guidelines dissect the image? I know that the guidelines

    can turn into a slice, but it's for the web if im not wrong.

    Thank you.upload-to-adobe.jpg

    Unfortunately, Photoshop doesn't have a pathfinder in Illustrator.

    To break an image (for example: shattered glass), I

    • make a selection (from paths, or channels or layer masks)
    • Order J float a copy of this layer
    • back to my original layer, make a new selection and repeat this operation as many times as necessary.

    Alien Skin Software has a few effects plug-in to do this, but I usually like manually create effects to have a more personal rather than watching canned.

  • You want to edit a large file containing 100 minutes of audio digital into several smaller files in Windows Media Player.

    Original title: make a Simple Audio editing.

    I have a large file containing 100 minutes of audio digital I need to split into several smaller files.  The biggest file is on my desk. How do I do this on Windows Media Player?

    I have and older Version of WMP.   Can I download a more RECENT version of Windows Media Player or keep the one which currently?  Thank you!

    Booboothefool

    Hello

    ·         What type of audio file?

    ·         What version of Windows Media Player you have installed?

    You can use your favorite search engine to find a program that can modify the file.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    In addition, follow this link to add files in Windows Media Player.

    http://Windows.Microsoft.com/en-us/Windows-XP/help/Windows-Media-Player/11/library#section_1

    Hope the helps of information.

    Please post back and we do know.

  • How I've spread my video into several parts and save each file under different names?

    How I've spread my video into several parts and save each file under different names?

    You are going to need a video editing package to do this, you can not cut just to the top of the video into segments at the file level.

    With an editor, you can then crop the video into segments

  • Is it possible to import the same JavaScript document into several PDF documents at the same time

    I have a recurring project where I disable advance click into individual PDF by using a JavaScript document. Is it possible to import this script into several PDF files at once rather than having to manage it at the same time?

    You can create an Action that adds the script. Curiously, the Action would be a JavaScript that uses the doc.addScript () method.

  • How to split a string into several substrings parent using a delimiter

    Hello

    I am forced to split a string into several substrings parent using a delimiter.

    And insert these substrings in variuou of the columns of a table in a row.

    For example. The sting is: ABC * DEF * GHI * JKH *.

    where ' *' is the separator.

    Desired output:

    Col1 Col2 Col3 Col4 Col5

    -------     --------     --------     -------     ---------

    JKH GHI ABC DEF (null)

    Could you please guide me how can I achieve this.

    Thank you

    Bogoss

    Hello Salim,

    Leave the thread for reference... got this excerpt:

    with t as

    (

    Select "c: its: hgfd:1:23" Str

    )

    Select

    REGEXP_SUBSTR (str, ' ([^:] *)(:|$)', 1, 1, null, 1) col1

    , REGEXP_SUBSTR (str, ' ([^:] *)(:|$)', 1, 2, null, 1) col2

    , REGEXP_SUBSTR (str, ' ([^:] *)(:|$)', 1, 3, null, 1) col3

    , REGEXP_SUBSTR (str, ' ([^:] *)(:|$)', 1, 4, null, 1) col4

    , REGEXP_SUBSTR (str, ' ([^:] *)(:|$)', 1, 5, null, 1) col5

    t;

    This code snippet works well, but for the fixed columns. Here are 5 predefined columns.

    But I need to have a logic that I can browse the string any No.. sometimes.

    For example. If I get 3 secondary channels of the parent chain... I need to insert into 3 columns.

    And if I get 6 strings under... I need to insert into 6 columns.

    Could you please help me develop a logic like that.

    I use Oracle database 10g.

    And the data are currently being collected on external table... but I can store in a variable or a column of a database table.

    Thank you

    Bogoss

  • Friends of Hy. I want to ask that I am looking to get a pdf split software to split a pdf file into several PDF files with my set of pages specified. As if a document is 22 pages then I will specify the number of pages that must be cut in half to separate

    Friends of Hy. I want to ask that I am looking to get a pdf split software to split a pdf file into several PDF files with my set of pages specified. As if a document is 22 pages then I will specify the number of pages that must be cut in half in separate PDF files. for example I entered that do three pdfs of 1-5, 5-7, 8-10 pages and it will result in me

    first pdf = 1-5 pages

    second pdf = 5-7 pages

    Third pdf = 8 to 10 pages.

    Y at - there no way to do it with adobe acrobat or any other software? I tried many software including adobe with extract and split option, but I did not get the results you are looking for. so please:

    I would like to know if any of you have any knowledge about it. I have

    Thnanks in advance!

    Hi minixain,

    Yes, you can do it using Adobe Acrobat application (Adobe Acrobat free trial downloadversion |) Acrobat Pro DC), please refer to this document for help KB split a PDF | Adobe Acrobat DC tutorials.

    Kind regards

    Nicos

  • Insert the text field into several pdf files

    I was wondering if there was a way to insert a text field into several pdf files. I have about 500 pdf documents that need to have a text field in the same location on page 1 of the document. Is there a way to create a batch for this? Can I create a blank PDF with the text field in the right place and superimpose somehow in the exsisting files? Or I'm stuck with opening each file and paste the text of field in there?

    Any help would be appreciated.

    Thank you.

    Yes, it is possible to do, if you have the version of Acrobat Pro and some knowledge of JavaScript.

  • Convert a word into several PDF documents document

    Hello

    I would like to convert a word into several documents PDF document. (i.e. convert word page 20 20 single-page PDF document). Is it possible to do this easily and quickly.

    I used the word mail merge to create several cover letters in word

    I would now like to convert each cover letter (which is 1 page each) individialized PDF so I can email attachments

    I currently have been copying and pasting my document master word in a document word fresh (a page at a time), then record, then conversion to PDF a cover letter at a time. Although it works it is a long time and I thought that there may be an easier and faster way to do

    All thoughts, suggesstions, would be greatly appreciated

    Thank you

    It is possible to convert the word document to PDF and the PDF file is opened:

    Document

    Extract Pages

    1-20

    Check "extract pages as separate files.

    This will give you 20 separate files.

    I hope that helps!

  • Divide a line into several points

    I see that I can use SDO_LRS. SPLIT_GEOM_SEGMENT to divide a line into one only point (and get 2 lines resulting).

    However, someone at - it an idea how can I split a line, at several points, in several segments? I need to do for the number of lines, so a function or procedure would be nice as appropriate.

    Thank you

    Published by: ronnie-m on April 22, 2013 04:43

    Sorry for pasting quick and dirty, was a minimum on time and problems with my dev env.

    Perhaps still not the best outline but hoping there more explanaition should be ok.

    Concerning

    Luke

    select l.line_id,                                                                                                                                         -- line line_id
            ROW_NUMBER() OVER (PARTITION BY l.line_id order by l.rowid )                                                                              -- optional sub id, to make submains unique in combination with line_id (guess this will be ordered
            sdo_lrs.CLIP_GEOM_SEGMENT(SDO_LRS.CONVERT_TO_LRS_GEOM(l.geometry ), branch_measure, branch_next_measure, 0.05)              -- actual clipping, needs convert to LRS apparently, start end end branch measure
            from
                   line l,                                                                                                                                            -- rejoin mainly to get the geometry again
                             (
                             select line_id,                                                                                             -- line_id
                                     branch_measure,                                                                                                              -- measure of the branches (from CASE WHEN
                                     LEAD(branch_measure, 1, 0) OVER (PARTITION BY line_id order by branch_measure) branch_next_measure   -- Analytical function LEAD will get the next branch measure form the following ordered records per line_id
                             from
                                  (
                                  select a.line_id,                                                                                                              -- line_id
                                          CASE when                                                                                                              -- CASE (assuming branch will touch only at one point) it will be either the start or the endpoint
                                                      sdo_lrs.find_offset(                                                                    -- of the branch that will TOUCH, we are checking this based on the offset which one is closest
                                                                               SDO_LRS.CONVERT_TO_LRS_GEOM(a.geometry),                                   -- requires convert to LRS geom
                                                                               sdo_lrs.geom_segment_start_pt(b.geometry),                                   -- if it is neccessary to deal with multiple possibilities we might better use a temp table to evalute better
                                                                               0.05                                                                                -- TOLERANCE (all tolereance should be seen with respect to resolution of the data
                                                                               )                                                                   -- IF feasible, let spatial take care of the snapping
                                                      <
                                                      sdo_lrs.find_offset(
                                                                               SDO_LRS.CONVERT_TO_LRS_GEOM(a.geometry),
                                                                               sdo_lrs.geom_segment_end_pt(b.geometry),
                                                                               0.05
                                                                               )
                                            THEN
                                                 sdo_lrs.find_measure(
                                                                           SDO_LRS.CONVERT_TO_LRS_GEOM(a.geometry),
                                                                           sdo_lrs.geom_segment_start_pt(b.geometry),
                                                                           0.05
                                                                           )
                                            ELSE sdo_lrs.find_measure(
                                                                            SDO_LRS.CONVERT_TO_LRS_GEOM(a.geometry),
                                                                            sdo_lrs.geom_segment_end_pt(b.geometry),
                                                                            0.05)
                                              END branch_measure
                                  from line a, line b                                                                                                      -- self join using main and branch that touches
                                       WHERE sdo_relate(b.geometry, a.geometry, 'mask=TOUCH') = 'TRUE'                                     -- Should be replaceable with sdo_join + self join optimsation
                                       AND a.line_type = 'main'
                                       AND b.line_type = 'branch'
                                  union all                                                                                                                        -- union all to get the 0 measure (startpoint) in the subquery as the beginning of the first clipping segment
                                       select line_id, 0 as branch_measure
                                       from line
                                  union all                                                                                                                         -- union all to get the last measure (endpoint) in the subquery as the beginning of the first clipping segment
                                       select line_id,
                                                 sdo_geom.sdo_length(geometry, 0.05) as branch_measure                                                  -- maybe better to use actual get measure form lrs endpoint but is the same if no spaecial measure are used
                                       from line
                                  )
                             ) b
                             where
                             branch_measure < branch_next_measure                                                                                          -- avoid duplicates (2 branches at same location on main (but also the last + 1 segment with last measure and default value 0 from LEAD
                             and
                             l.line_id = b.line_id                                                                                                              -- join on line-id to reuse the geom (or potential other attributes from original lines
                             ;
    
  • Divide the line into several columns

    Hi all

    I have a question where I want to divide the line into multiple columns based on the delimiter ' |'.

    Staging of Table structure: People_STG, I have people in it.

    Create table People_STG(col1 varchar2(4000));


    Insert into People_STG(Emp_id|) User name | FirstName. LastName. JobTitle | hire_date | Location_id)


    SELECT REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 1) EMP_ID,
           REGEXP_SUBSTR ( COL1, '[^|]+', 1, 2) USERNAME,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 3) FIRSTNAME,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 4) LASTNAME,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 5) JOBTITLE,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 6) HIRE_DATE,
           REGEXP_SUBSTR ( COL1, '[^,|]+', 1, 7) LOCATION_ID
    FROM PEOPLE_STG
    WHERE length(regexp_replace(COL1, '[^|]', '')) = 14;
    

    But I am facing a problem here, as in some lines, function is null, but when I run the above query, it is not recognizing the empty element and inserting Hire_date values of function and location_id in Hire_date where function is null.

    for example: 1 | akash51 | Akaksh | C | 22/11/14 | 15

    Here the function is null, so when I run top to divide query it will insert 11/22/14 in the function column and 15 in Hire_Date.

    Please need help on this one.

    Oracle Version: 11.2 g

    Thanks in advance,

    Akash.

    There are different techniques to cope with this.  Is a simple...

    SQL > ed
    A written file afiedt.buf

    1 with t as (select 1 | akash51 |) Akaksh | C | 22/11/14 | 15' as col1 of union double all the
    2 Select 2 | akash52 | Akaksh | C | Jobs jobs | 23/11/14 | 15' of the double
    3            )
    4  --
    5. end of test data
    6  --
    7 select trim (REGEXP_SUBSTR (COL1, ' [^, |] +', 1, 1)) EMP_ID,.
    8 toppings (REGEXP_SUBSTR (COL1, ' [^, |] +', 1, 2)) USERNAME,.
    9 garnish (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 3)) FIRSTNAME,
    10 pads (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 4)) LASTNAME,.
    11 garnish (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 5)) JOBTITLE,.
    12 pads (REGEXP_SUBSTR (COL1, ' [^, |] +', 1, 6)) HIRE_DATE,.
    13 garnish (REGEXP_SUBSTR (COL1, ' [^, |] +' 1, 7)) location_id
    14 * from (select replace (col1, ' |)) ',' | as col1 of t)
    SQL > /.

    EMP_ID USERNAME FIRSTNAME LASTNAME, JOBTITLE HIRE_DATE LOCATION_I
    ---------- ---------- ---------- ---------- ---------- ---------- ----------
    1 akash51 Akaksh C 22/11/14 15
    2 akash52 Akaksh C Job 23/11/14 15

  • 1 line into several lines

    I have a table time_entries
    create table time_entries 
    (employee_id integer, 
    start_date date, 
    end_date date, 
    CONSTRAINT pk_time_entries PRIMARY KEY (employee_id, start_date))
    Suppose I have a line in this table (date in the format yyyy-mm-dd):

    Employee_ID, start_date, end_date
    -------------------------
    1, 2012-08-27, 2012-09-02


    As you can see the difference between dates is 7 days. I want to write a query so that each day has its own line, that is, I want to write a query that translates into 1 line above 7 rows. This is the result set, I want:

    Employee_ID, start_date, end_date
    -------------------------
    1, 2012-08-27, 2012-08-27
    1, 2012-08-28, 28-08-2012
    1, 2012-08-29, 2012-08-29
    1, 2012-08-30, 2012-08-30
    1, 2012-08-31, 2012-08-31
    1, 2012-09-01, 2012-09-01
    1, 2012-09-02, 2012-09-02

    Is it possible to do it in a select statement?

    Published by: srhcan on August 17, 2012 16:26

    Published by: srhcan on August 17, 2012 16:26

    srhcan wrote:

    BluShadow wrote:

    srhcan wrote:
    I expect a generic SQL solution that can run on databases other suppliers as well.

    This is not good design. Different databases have different ways of doing things for the best performance, etc. You are advised to use the best data, you write the query and does not focus on making things way 'generic '. This way you could design a "database layer" (aka the database layer) specific to each database.

    I agree with your point of view. But the system, I'm currently train do not have a DAO layer for each type of database. All SQLs are coded in the business layer, and this is why all these SQLs are generic SQLs.

    Then you must accept this run of things in this code will be more difficult to do, probably more code involved and may not be as effective as it could be. As they say... sh! design t = sh! application of t.

  • Divide a line into several lines based on the amount

    Dear all,

    Please provide a solution for this scenario.

    The query...

    Select line_id, component, sizes, quantity of sales_tab;

    and the result...

    LINE_IDCOMPONENTSIZESQUANTITY
    8BODYSMALL214.33
    4BODYMEDIUM187.89
    1BODYLARGE230.87
    7BODYEXTRA LARGE205.03
    3BODYXX LARGE148,52
    2SLEEVESMALL197.57
    6SLEEVEMEDIUM176.4
    5SLEEVELARGE193.8
    10SLEEVEEXTRA LARGE184.87
    9SLEEVEXX LARGE138.53

    Business rule: for all rows where the quantity is greater than 200, generate a new identical line with quantity = quantity - 200 like - we. This is the quantity of each line must not exceed 200.

    The required result is...

    LINE_IDCOMPONENTSIZESQUANTITY
    8BODYSMALL200
    8BODYSMALL14.33
    4BODYMEDIUM187.89
    1BODYLARGE200
    1BODYLARGE30,87
    7BODYEXTRA LARGE200
    7BODYEXTRA LARGE5.03
    3BODYXX LARGE148,52
    2SLEEVESMALL197.57
    6SLEEVEMEDIUM176.4
    5SLEEVELARGE193.8
    10SLEEVEEXTRA LARGE184.87
    9SLEEVEXX LARGE138.53

    Thank you

    Usman

    Use:

    Select line_id,

    component,

    sizes,

    amount of column_value

    of sales_tab.

    table)

    cast)

    MultiSet)

    Select less (200, - 200 quantity * (level - 1))

    of the double

    connect in quantity > 200 * (level - 1)

    )

    as sys. OdciNumberList

    )

    )

    order of line_id,

    amount desc

    /

    For example:

    SQL > with sales_tab like)
    2 Select line_id 8, component 'Body', 'SMALL' amount 214.33 of all sizes the double union
    3. Select 4, 'BODY', 'WAY', 187.89 double Union all
    4 Select 1, 'BODY', 'LARGE', 230.87 double Union all
    5. Select 7, 'BODY', 'EXTRA LARGE', 205.03 double Union all
    6 select 3, 'BODY', 'XX-LARGE', 148,52 of double union all
    7. Select 2, 'CHANNEL', 'SMALL', 197.57 double Union all
    8. Select 6, 'CHANNEL', 'WAY', 176.4 from dual union all
    9. Select 5, 'ROUND', 'BIG', 193.8 double Union all
    10. Select 10, 'ROUND', 'EXTRA LARGE', 184.87 double Union all
    11. Select 9, 'ROUND', 'XX-LARGE', double 138.53
    12                  )
    13. Select line_id,
    14 components,
    15 sizes,
    amount of 16 column_value
    sales_tab 17,
    Table 18)
    19 mount)
    (20) type multiset
    21 select less (200, - 200 quantity * (level - 1))
    22 double
    23 connect quantity > 200 * (level - 1)
    24                            )
    25 as sys. OdciNumberList
    26                    )
    27              )
    28 order of line_id,
    29 quantity desc
    30.

    LINE_ID COMPON QUANTITY SIZES
    ---------- ------ ----------- ----------
    1 BODY 200 GRAND
    1 BODY GRAND 30,87
    2 SLEEVES SMALL 197.57
    3 BODY XX LARGE 148,52
    4 WAY 187.89 BODY
    5 SLEEVES 193.8 GRAND
    SLEEVE 6 MEANS 176.4
    7 BODY 200 EXTRA-LARGE
    7 BODYWORK 5.03 EXTRA-LARGE
    8 200 SMALL BODY
    8 BODY SMALL 14.33

    LINE_ID COMPON QUANTITY SIZES
    ---------- ------ ----------- ----------
    CHANNEL 9 XX GRAND 138.53
    10 SLEEVES EXTRA-LARGE 184.87

    13 selected lines.

    SQL >

    SY.

  • divide a line into several columns

    Hi all

    I have a csv file with the information that looks like

    Dispatch_id/vendor_id

    --------------------------------

    1234/111

    1234/333

    1234\222

    1 234 111

    1234 111

    "1234/111.

    1234/111

    I want the output to be

    Vendor_id Dispatch_id

    --------------------------------------------

    1234 111

    333 1234

    222 1234

    1234 111

    1234 111

    1234 111

    1234 111

    I tried to use REGEXP_SUBSTR like this:

    SELECT REGEXP_SUBSTR('1234/111','[^/]+') DISPATCH_ID,

    VENDOR_ID REGEXP_SUBSTR('1234/111','[^/]+',1,2)

    BY DOUBLE D

    and I got the output

    Vendor_id Dispatch_id

    --------------------------------------------

    1234 111

    What is good!

    But my problem is that I have different delimiters in each line (example: ' \ ',' ',' ', "',)

    How can I mention all these delimiters in query REGEXP_SUBSTR?

    Or

    Is there another way I can write a simple query?

    Please help me!

    1058268 wrote:

    Hi all

    I have a csv file with the information that looks like

    Dispatch_id/vendor_id

    --------------------------------

    1234/111

    1234/333

    1234\222

    1 234 111

    1234 111

    "1234/111.

    1234/111

    I want the output to be

    Vendor_id Dispatch_id

    --------------------------------------------

    1234 111

    333 1234

    222 1234

    1234 111

    1234 111

    1234 111

    1234 111

    I tried to use REGEXP_SUBSTR like this:

    SELECT REGEXP_SUBSTR('1234/111','[^/]+') DISPATCH_ID,

    VENDOR_ID REGEXP_SUBSTR('1234/111','[^/]+',1,2)

    BY DOUBLE D

    and I got the output

    Vendor_id Dispatch_id

    --------------------------------------------

    1234 111

    What is good!

    But my problem is that I have different delimiters in each line (example: ' \ ',' ',' ', "',)

    How can I mention all these delimiters in query REGEXP_SUBSTR?

    ...

    Sure.

    "[^ /]" refers to all characters except ' / ' "

    ' [^ /------"]': the set of all characters except" / ', ' \' "' (single quote) or" "(space).  So, if you can list all the possible delimiters, just put them all inside square brackets, like this:

    SELECT REGEXP_SUBSTR (combined_id, "[^ / \"]' 1, 1 ") AS dispatch_id - omit the last 2 arguments, if you want

    , REGEXP_SUBSTR (combined_id, "[^ / \"]', 1, 2 ") AS vendor_id

    FROM table_x;

    If you would care to post CREATE TABLE and INSERT instructions for some examples of data, then I could test it.

    If it's easier to display the characters which may not be delimiters, then lose the ^ right after ' ['.]  For example

    "[0123456789]" which is equivalent to

    '[0-9]' and is also equivalent to

    "[[: digit:]]"

Maybe you are looking for

  • Designjet T3500: Designjet Driver for PDF files for customers

    Is there a driver printer, interface or application that allows customers to commercial users of Designjet plotters to create PDF files or trace files to drive plots, E size or custom size plots? Also want to download for use on iOS devices 9 too. I

  • Satellite A200-211 - toshiba common module for Win7

    Hello If I understand the common module from toshiba and toshiba logical device added value are the same. and I tried to google the two of them to download for my Satellite A200-211, which works on windows 7 ultimate 64-bit, but I CAN'T find at all.

  • Model only ON R7300DST is power, but internet and network work?

    The device is filled for a century link C1000A. The only LED that is on is power - all others dark. However, the device seems to work. I have internet, I have access to USB flash and network drives. I haven't has extinguished/turned on the deivce no

  • CHROME FREEZES

    CHROME OPENS THEN IT WILL FREZZ AND IT IS ALSO OPEG 2 TABS THAT I TRIED TO CHANGE THE SETTINGS WITH LUCK NOW. XT, I HAVE NOT SENT A REPORT STILL NO HELP WHAT SHOULD I DO? [Moved from the community centre of Participation]

  • How to get a list of the VI included in the executable

    The problem is mainly a matter of configuration of product version control and also potentially has a loss of performance. While VI and CTL lists (including dependencies) are completed, I can't find a reference to some of the VI, especially in the de