One for the Tekkies: How to get this output using REGULAR EXPRESSIONS?

How to get the below output using REGULAR EXPRESSIONS??
SQL> ed
Wrote file afiedt.buf
  1* CREATE TABLE cus___addresses    (full_address                   VARCHAR2(200 BYTE))
SQL> /
Table created.
SQL> PROMPT Address Format is: House #/Housename,  street,  City, Zip Code, COUNTRY
House #/Housename,  street,  City, Zip Code, COUNTRY
SQL> INSERT INTO cus___addresses VALUES('1, 3rd street, Lansing, MI 49001, USA');
1 row created.
SQL> INSERT INTO cus___addresses VALUES('3B, fifth street, Clinton, OK 74103, USA');
1 row created.
SQL> INSERT INTO cus___addresses VALUES('Rose Villa, Stanton Grove, Murray, TN 37183, USA');
1 row created.
SQL> SELECT * FROM cus___addresses;
FULL_ADDRESS
1, 3rd street, Lansing, MI 49001, USA
3B, fifth street, Clinton, OK 74103, USA
Rose Villa, Stanton Grove, Murray, TN 37183, USA
SQL> The REG EXP query shouLd output the ZIP codes: i.e. 49001, 74103, 37183 in 3 rows.Edited by: user12240205 on Jun 18, 2012 3:19 AM

Hi,
user12240205 wrote:
... Frank, ʃʃp's method, I understand. But your method, although correct, I find it difficult to understand.
Could you explain how you did this?? What does '.*(\d{5})\D*' and '\1' mean???
Your method is better because it uses only ONE reg expression function. ʃʃp's uses 2.In Oracle 10.2 (I believe) and higher, '\d' is equivalent to '[[:digit:]]', and '\D' is equivalent to '[^[:digit:]]'. I find '\d' and '\D' easier to type, but there's nothing wrong with using '[[:digit:]]' and '[^[:digit:]]'.
'.*' means "0 or more of any character".
'\D*' means "0 or more non-digits".
The whole expression, '.*(\d{5})\D*' means:
a. 0 or more characters (any characters)
b. 5 digits
c. 0 or more non-digits.
'\1' is a Backreference . It means the sub-string that matched the pattern after the 1st '(', up to (but not including) its matching ')'. In this case, that means the sub-string that matched '\d{5}', or b. using the explanation immediately above.
So the entire REGEXP_REPLACE call means "When you see a sub-string consisting of a., follwed immediately by b., followed immedately by c., replace that sub-string with b. alone."

Similar Messages

  • How to get this output using sql query?

    Hi,
      How to get this output using sql query?
    Sno Name Age ADD Result
    1 Anil 23 delhi Pass
    2 Shruti 25 bangalor Pass
    3 Arun 21 delhi fail
    4 Sonu 23 pune Pass
    5 Roji 26 hydrabad fail
    6 Anil 28 delhi pass
    Output
    Sno Name Age ADD Result
    1 Anil 23 delhi pass
    28 delhi pass

    Hi Vamshi,
    Your query is not pretty clear.
    write the select query using Name = 'ANIL' in where condition and display the ouput using Control-break statements.
    Regards,
    Kannan

  • How to get year value using regular expression

    Hi,
    I have a different format of date such as 2004-01-03, 2003/01, 05/06/2005, 06-05-2007
    How can I get only the year value using regular expression? The year value is always in 4 digits
    Thanks in advance

    sabre150 wrote:
    JosAH wrote:
    \d{4}Is this the Jos I knew who poured scorn on anything to do with regex? Is this the Jos I knew who said that the 'pimping lemon' stopped regex being of any real use?It wasn't me; honest, I'm innocent: one of my parrots walked over my keyboard; I wouldn't be able to type such nonsense; naughty parrot! No cookie!
    kind regards,
    Jos
    ps. regexes can only survive the baby-pumping-lemma; they all die a horrible death with the real-men-pumping lemma! So there.

  • The file to download the app for Android is not working from my phone--it says that the file isn't there. However it does see the one for the Iphone (even though it can't use it). I'm very computer literate and am pretty sure the problem is on your end.

    The file to download the app for Android is not working from my phone--it says that the file isn't there. However it does see the one for the Iphone (even though it can't use it). I've tried it multiple times and continue to get the same message: "NOT FOUND The requested item could not be found". I also tried through the Market application on the phone but ended-up with the same result.
    I'm very computer literate and am pretty sure the problem is on your end. If this is the case then no one can download the app. I considered that perhaps because it's still in Beta that it was removed due to some other type of software issue. I would really like to use Firefox on my new Droid (2.0); when with this be available?

    Firefox will not appear in the Market for most phones with incompatible hardware. You can check if your phone is supported here:
    https://wiki.mozilla.org/Mobile/Platforms/Android
    Even on some supported devices, a bug in the Market software prevents Firefox from showing up. This may be related to the fairly recent Android Market app update. If you go to Settings/Applications/Market and choose "Uninstall" you can uninstall the update, and then search for and install Firefox from the marketplace.
    Or, if you have a supported phone, you can download the app directly by typing this address into your phone's browser: http://bit.ly/fxbeta3
    (Note: To download the app directly for an AT&T phone, you will have to search for instructions on "sideloading" the APK file, since AT&T disables the option to install from non-Market sources.)

  • Here is one for the tekkies. How to do this in SQL?

    Input : String 541862356
    Table has 2 columns:
    SNO                             SLENGTH
    5418                                4
    54186                               5
    54321                               5
    Output should be 54186.
    We don't have any other input. i.e. we have to get the closest match for the input string.
    How to do this??
    Edited by: user12240205 on May 3, 2012 10:51 PM

    user12240205 wrote:
    We don't have any other input. i.e. we have to get the closest match for the input string.You haven't explained what "closest match" actually means.
    Something as simple as this could do what you want with the sample data you've provided...
    SQL> ed
    Wrote file afiedt.buf
      1  WITH t AS (SELECT 5418 sno, 4 cnt FROM DUAL UNION
      2             SELECT 54186, 5 FROM DUAL UNION
      3             SELECT 54321, 5 FROM DUAL)
      4      ,r as (select 541862356 as r from dual)
      5  --
      6  -- end of test data
      7  --
      8  select max(sno)
      9  from   t,r
    10* where  instr(r, sno) > 0
    SQL> /
      MAX(SNO)
         54186... without the need for any Henry Winkler matching stuff (as we affectionately call it round here).

  • How to get this output format in ALV report

    Hi.
    Can any one pls let me know how to get the following output format in ALV report.Following are the outputfields
    companycode   location     position     approver
    300    800       01    watson
    null   null        03     candy
    null   null        04     smith
    null   null        05     michael
    one empty line after this again
    300     800     01     ryant
    null      null    02     gyan
    null      null    03     fermi
    null      null    04     ogata
    *Note: Null     indicates  empty space .( i.e I need to get empty space in  output where ever null is there.)
            Thanks in advance.
    Kind Regards,
    samiulla.

    hi,
    u can use 'REUSE_ALV_LIST_DISPLAY'
                           or
    'REUSE_ALV_GRID_DISPLAY'  function modules.
    SAMPLE CODE :
    *& Report  Y101982CHD
    *                         TABLES
    TABLES: vbak.    " standard table
    *                           Type Pools                                 *
    TYPE-POOLS: slis.
    *                     Global Structure Definitions                     *
    *-- Structure to hold data from table CE1MCK2
    TYPES: BEGIN OF tp_itab1,
           vbeln LIKE vbap-vbeln,
           posnr LIKE vbap-posnr,
           werks LIKE vbap-werks,
           lgort LIKE vbap-lgort,
           END OF tp_itab1.
    *-- Data Declaration
    DATA: t_itab1 TYPE TABLE OF tp_itab1.
    DATA : i_fieldcat TYPE slis_t_fieldcat_alv.
    *                    Selection  Screen                                 *
    *--Sales document-block
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
    SELECT-OPTIONS: s_vbeln FOR vbak-vbeln.
    SELECTION-SCREEN END OF  BLOCK b1.
    *--Display option - block
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-t02.
    PARAMETERS: alv_list RADIOBUTTON GROUP g1,
                alv_grid RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF  BLOCK b2.
    *file download - block
    SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-t03.
    PARAMETERS: topc AS CHECKBOX,
                p_file TYPE rlgrap-filename.
    SELECTION-SCREEN END OF  BLOCK b3.
    *                      Initialization.                                *
    *                      At Selection Screen                            *
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_DXFILENAME_4_DYNP'
        EXPORTING
          dynpfield_filename = 'P_FILE'
          dyname             = sy-cprog
          dynumb             = sy-dynnr
          filetype           = 'P'      "P-->Physical
          location           = 'P'     "P Presentation Srever
          server             = space.
    AT SELECTION-SCREEN ON s_vbeln.
      PERFORM vbeln_validate.
    *                           Start Of Selection                         *
    START-OF-SELECTION.
    *-- Fetching all the required data into the internal table
      PERFORM select_data.
    *                           End Of Selection                           *
    END-OF-SELECTION.
      IF t_itab1[] IS NOT INITIAL.
        IF topc IS NOT INITIAL.
          PERFORM download.
          MESSAGE 'Data Download Completed' TYPE 'S'.
        ENDIF.
        PERFORM display.
      ELSE.
        MESSAGE 'No Records Found' TYPE 'I'.
      ENDIF.
    *                           Top Of Page Event                          *
    TOP-OF-PAGE.
    *& Form           :      select_data
    * Description     : Fetching all the data into the internal tables
    *  parameters    :  none
    FORM select_data .
      SELECT vbeln
         posnr
         werks
         lgort
         INTO CORRESPONDING  FIELDS OF TABLE t_itab1
         FROM vbap
         WHERE  vbeln IN s_vbeln.
      IF sy-subrc <> 0.
        MESSAGE 'Enter The Valid Sales Document Number'(t04) TYPE 'I'.
        EXIT.
      ENDIF.
    ENDFORM.                    " select_data
    *& Form        : display
    *  decription  : to display data in given format
    * parameters   :  none
    FORM display .
      IF alv_list = 'X'.
        PERFORM build_fieldcat TABLES i_fieldcat[]
                               USING :
    *-Output-field Table      Len  Ref fld Ref tab Heading    Col_pos
       'VBELN'       'T_ITAB1'     10   'VBAP'  'VBELN'    ''            1,
       'POSNR'       'T_ITAB1'     6    'VBAP'  'POSNR'    ''            2,
       'WERKS'       'T_ITAB1'     4    'VBAP'  'WERKS'    ''            3,
       'LGORT'       'T_ITAB1'     4    'VBAP'  'LGORT'    ''            4.
        *CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'*
          *EXPORTING*
            *i_callback_program       = sy-repid*
    **        i_callback_pf_status_set = c_pf_status*
            *i_callback_user_command  = 'USER_COMMAND '*
    **        it_events                = t_alv_events[]*
            *it_fieldcat              = i_fieldcat[]*
          *TABLES*
            *t_outtab                 = t_itab1[]*
          *EXCEPTIONS*
            *program_error            = 1*
            *OTHERS                   = 2.*
        *IF sy-subrc <> 0.*
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO*
    **         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.*
        *ENDIF.*
      ENDIF.
      IF alv_grid = 'X'.
        PERFORM build_fieldcat TABLES i_fieldcat[]
                                 USING :
    *-Output-field Table      Len  Ref fld Ref tab Heading    Col_pos
         'VBELN'       'T_ITAB1'     10   'VBAP'  'VBELN'    ''            1,
         'POSNR'       'T_ITAB1'     6    'VBAP'  'POSNR'    ''            2,
         'WERKS'       'T_ITAB1'     4    'VBAP'  'WERKS'    ''            3,
         'LGORT'       'T_ITAB1'     4    'VBAP'  'LGORT'    ''            4.
        *CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'*
          *EXPORTING*
            *i_callback_program       = sy-repid*
    **        i_callback_pf_status_set = c_pf_status*
            *i_callback_user_command  = 'USER_COMMAND '*
            *it_fieldcat              = i_fieldcat*
          *TABLES*
            *t_outtab                 = t_itab1[]*
        *EXCEPTIONS*
       *program_error                     = 1*
       *OTHERS                            = 2.*
        *IF sy-subrc <> 0.*
    ** MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO*
    **         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.*
        *ENDIF.*
      *ENDIF.*
    ENDFORM.                    " display
    *& Form        : vbeln_validate
    *  description : to validate sales document number
    * parameters   :  none
    FORM vbeln_validate .
      DATA: l_vbeln TYPE vbak-vbeln.
      SELECT SINGLE vbeln
        FROM vbak
        INTO l_vbeln
        WHERE vbeln IN s_vbeln.
      IF sy-subrc NE 0.
        MESSAGE 'ENTER THE VALID SALES DOCUMENT NO:' TYPE 'I'.
        EXIT.
      ENDIF.
    ENDFORM.                    " vbeln_validate
    *& Form       :build_fieldcat
    * Description : This routine fills field-catalogue
    *  Prameters  : none
    FORM build_fieldcat TABLES  fpt_fieldcat TYPE slis_t_fieldcat_alv
                        USING   fp_field     TYPE slis_fieldname
                                fp_table     TYPE slis_tabname
                                fp_length    TYPE dd03p-outputlen
                                fp_ref_tab   TYPE dd03p-tabname
                                fp_ref_fld   TYPE dd03p-fieldname
                                fp_seltext   TYPE dd03p-scrtext_l
                                fp_col_pos   TYPE sy-cucol.
    *-- Local data declaration
      DATA:   wl_fieldcat TYPE slis_fieldcat_alv.
    *-- Clear WorkArea
      wl_fieldcat-fieldname       = fp_field.
      wl_fieldcat-tabname         = fp_table.
      wl_fieldcat-outputlen       = fp_length.
      wl_fieldcat-ref_tabname     = fp_ref_tab.
      wl_fieldcat-ref_fieldname   = fp_ref_fld.
      wl_fieldcat-seltext_l       = fp_seltext.
      wl_fieldcat-col_pos         = fp_col_pos.
    *-- Update Field Catalog Table
      APPEND wl_fieldcat  TO  fpt_fieldcat.
    ENDFORM.                    "build_fieldcat
    *& Form        : download
    *  description : To Download The Data
    *  Parameters  :  none
    FORM download .
      DATA: l_file TYPE string.
      l_file = p_file.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename                = l_file
          filetype                = 'ASC'
        TABLES
          data_tab                = t_itab1
        EXCEPTIONS
          file_write_error        = 1
          no_batch                = 2
          gui_refuse_filetransfer = 3
          invalid_type            = 4
          no_authority            = 5
          unknown_error           = 6.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " download
    HOPE IT WILL HELP YOU
    REGARDS
    RAHUL SHARMA

  • Getting "Inner Html" using Regular Expressions. Learning RE in SDK1.4.

    Hello group.
    I am learning Regular Expressions in JAVA SDK 1.4 first. Not PERL or other language.
    Using the utility at the following link I am trying to get all the text between the <TR> and </TR> tags.
    http://jakarta.apache.org/oro/demo.html
    This seems simple but the line returns, breaks etc.. make it more difficult. I have worked on this for hours.
    There will be multiple table rows in my stream.
    My goal is to first get the text between the <TR> Tags...
    Then I was going to use groups to get data0, data1, data2, data3.
    Does this sound like a good plan? Should I use multiple RE or one RE that does 4 group returns.
    I was thinking the applet was causing my problem.
    <TR>.*?</TR> does not work.
    (<tr>\s*([^(</tr>)])+</tr>) does not work.
    I can get data0 to work as well as data1,2,3.
    Would it make more sense to split this multiple row table by </tr>?
    One row of malformed html (actually multiple rows):
    <TR>
    <TD bgColor=#ffffff><A class=fav
    href="http://nicesite.com/data0"
    >nicesite</A><IMG
    src="smile.gif"></TD>
    <TD bgColor=#12ff22><SPAN class=fav>data1</SPAN></TD>
    <TD bgColor=#12ff22><SPAN class=fav>data2</SPAN></TD>
    <TD bgColor=#12ff22><SPAN class=fav>data3</SPAN></TD>
    <TD align=middle bgColor=#ffffff><A
    href="#"><IMG
    src="smile.gif" border=0></A></TD>
    <TD align=middle bgColor=#ffffff>data
              4</TD>
    <TD align=middle bgColor=#ffffff>data5</TD></TR>
    s_____ I have seen some of your post and tryed to apply them. What do you think?
    Regards,
    NupeVic

    http://jakarta.apache.org/oro/demo.htmlI prefer
    http://jregex.sourceforge.net/demoapp.html
    >
    This seems simple but the line returns, breaks etc..
    make it more difficult. Yes, they do indeed
    There will be multiple table rows in my stream.
    My goal is to first get the text between the <TR>
    Tags...
    Then I was going to use groups to get data0, data1,
    data2, data3.
    Does this sound like a good plan? Should I use
    multiple RE or one RE that does 4 group returns.One of the main features of regexes that you must realize
    is that they are mainly suited for non-recursive, linear data structures
    (btw, that's why regexes in general are hardly suited for html).
    So, if the number of TD items is fixed, you could
    1. search using a single pattern for the whole row, something like
    "<PatternForTR>"+
    "<PatternForTD>(<PatternForData>)<PatternFor/TD>"+
    "<PatternForTD>(<PatternForData>)<PatternFor/TD>"+
    "<PatternFor/TR>"
    so the group1 would contain data1 and so on
    Otherwise, you should
    2. find each row using
    "<PatternForTR>(.*?)<PatternFor/TR>",
    then search the contents of group1 using the
    "<PatternForTD>(<PatternForData>)<PatternFor/TD>".
    >
    <TR>.*?</TR> does not work.The pattern itself is ok, but in order for it to work one should enable the DOTALL flag (the 's' flag in jregex demo), as the '.' doesn't accept line breaks by default.
    (<tr>\s*([^(</tr>)])+</tr>) does not work.It seems that [^(</tr>)]+ actually is a nonsense in this context.
    It describes a string that consists of any chars but '(', ')', '<', '>', 'r', 't', '/'.
    What you actully meant (a string that doesn't contain "</tr>")
    is just achieved by using non-greedy quantifier in <TR>.*?</TR>.
    >
    I can get data0 to work as well as data1,2,3.
    Would it make more sense to split this multiple row
    table by </tr>?Going the second way above, you could find rows using the
    general pattern for TR:
    <tr.*?>(.+?)</tr> and search their contents(i.e. the group#1) using the
    general pattern for TD
    <td.*?>(.+?)</td> Finally, this is the specific pattern for TD that doesn't include the leading
    and trailing tags into group1:
    <td[^>]*>(?:\s*</?[^>]*>)*\s*(.+?)(?:\s*</?[^>]*>)*\s*</td>It succeded in finding
    nicesite
    data1
    data2
    data3
    data
    4
    data5in your sample.

  • When I try to download adobe flash for the final time i get this error.

    Exit Code: 7
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 61 error(s), 50 warning(s)
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
              Family: CoreTech
              ProductName: Adobe Player for Embedding x64 3.1
              MinVersion: 0.0.0.0
              This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
              Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
              Family: Shared Technology
              ProductName: Photoshop Camera Raw (64 bit)
              MinVersion: 0.0.0.0
              This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
              Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
              Family: CoreTech
              ProductName: AdobeCMaps x64 CS5
              MinVersion: 0.0.0.0
              This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
              Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
              Family: CoreTech
              ProductName: Adobe Linguistics CS5 x64
              MinVersion: 0.0.0.0
              This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
              Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
              Family: CoreTech
              ProductName: AdobePDFL x64 CS5
              MinVersion: 0.0.0.0
              This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
              Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
              Family: CoreTech
              ProductName: AdobeTypeSupport x64 CS5
              MinVersion: 0.0.0.0
              This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
              Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
              Family: CoreTech
              ProductName: Adobe WinSoft Linguistics Plugin CS5 x64
              MinVersion: 0.0.0.0
              This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
              Removing this dependency from list. Product may function improperly.
    WARNING: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has recommended dependency on:
              Family: Adobe Web Suite CS5.5
              ProductName: Adobe Media Encoder CS5.5 X64
              MinVersion: 0.0.0.0
              This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
              Removing this payload from the dependency list.
    ----------- Payload: {08D2E121-7F6A-43EB-97FD-629B44903403} Microsoft_VC90_CRT_x86 1.0.0.0 -----------
    ERROR: Error 1606.Could not access network location 0X1.CEA005P-1021PPDATA\.
    ERROR: Error 1606.Could not access network location 0X1.CEA100P-1021PPDATA\.
    ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation.
    MSI Error message: Error 1606.Could not access network location 0X1.100000P-950PPDATA\.
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    WARNING: DW036: Payload cannot be installed due to dependent operation failure
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Adobe ExtendScript Toolkit CS5.5: Install failed
    ERROR: DW050:  - Microsoft_VC90_ATL_x86: Install failed
    ERROR: DW050:  - Microsoft_VC90_CRT_x86: Install failed
    ERROR: DW050:  - Adobe Media Encoder CS5.5: Install failed
    ERROR: DW050:  - Microsoft_VC80_ATL_x86: Install failed
    ERROR: DW050:  - AdobeColorNA CS5.5: Install failed
    ERROR: DW050:  - DynamiclinkSupport: Install failed
    ERROR: DW050:  - Adobe Flash CS5.5 Driver: Install failed
    ERROR: DW050:  - Adobe Flash CS5.5_AdobeMobileExtension_Flash11.5-en_US: Install failed
    ERROR: DW050:  - Adobe XMP Panels CS5: Install failed
    ERROR: DW050:  - Pixel Bender Toolkit: Install failed
    ERROR: DW050:  - Photoshop Camera Raw: Install failed
    ERROR: DW050:  - Camera Profiles Installer: Install failed
    ERROR: DW050:  - Adobe Extension Manager CS5.5: Install failed
    ERROR: DW050:  - Adobe XMP Panels CS5_3.1_AdobeXMPPanelsAll: Install failed
    ERROR: DW050:  - Adobe Flash Player 10 Plugin: Install failed
    ERROR: DW050:  - AdobeColorCommonSetRGB: Install failed
    ERROR: DW050:  - Adobe Device Central CS5.5: Failed due to Language Pack installation failure
    ERROR: DW050:  - AdobeColorCommonSetCMYK: Install failed
    ERROR: DW050:  - Microsoft_VC90_MFC_x86: Install failed
    ERROR: DW050:  - AIR for APPLE IOS Support (FP): Install failed
    ERROR: DW050:  - Adobe Linguistics CS5: Install failed
    ERROR: DW050:  - PDF Settings CS5: Install failed
    ERROR: DW050:  - AdobeTypeSupport CS5: Install failed
    ERROR: DW050:  - Adobe CSXS Infrastructure CS5.5: Install failed
    ERROR: DW050:  - Adobe Flash Player 10 ActiveX: Install failed
    ERROR: DW050:  - AdobeHelp: Install failed
    ERROR: DW050:  - Microsoft_VC80_CRT_x86: Install failed
    ERROR: DW050:  - Adobe Device Central CS5.5_DeviceCentral3.5LP-en_US: Install failed
    ERROR: DW050:  - Adobe Flash CS5.5_AdobeFlash11.5-en_USLanguagePack: Install failed
    ERROR: DW050:  - AdobeColorJA CS5.5: Install failed
    ERROR: DW050:  - AdobeOutputModule: Install failed
    ERROR: DW050:  - Adobe WinSoft Linguistics Plugin CS5: Install failed
    ERROR: DW050:  - Microsoft_VC90_MFCLOC_x86: Install failed
    ERROR: DW050:  - AdobePDFL CS5: Install failed
    ERROR: DW050:  - AdobeCMaps CS5: Install failed
    ERROR: DW050:  - Adobe CSXS Extensions CS5.5: Install failed
    ERROR: DW050:  - Adobe ReviewPanel CS5.5: Install failed
    ERROR: DW050:  - Adobe SwitchBoard 2.0: Install failed
    ERROR: DW050:  - Microsoft_VC80_MFC_x86: Install failed
    ERROR: DW050:  - Adobe Player for Embedding 3.1: Install failed
    ERROR: DW050:  - Microsoft_VC80_MFCLOC_x86: Install failed
    ERROR: DW050:  - Adobe Flash CS5.5: Failed due to Language Pack installation failure
    ERROR: DW050:  - SiteCatalyst NetAverages CS5.5: Install failed
    ERROR: DW050:  - Adobe Flash CS5.5_AdobeMobileExtension_Flash11.5-mul: Install failed
    ERROR: DW050:  - AdobeJRE: Install failed
    ERROR: DW050:  - Suite Shared Configuration CS5.5: Install failed
    ERROR: DW050:  - Adobe Bridge CS5.1: Install failed
    ERROR: DW050:  - Photoshop Camera Raw_6.3_AdobeCameraRaw6.0All: Install failed
    ERROR: DW050:  - AdobeColorEU CS5.5: Install failed

    I would recommend utilizing the Adobe Support Advisor - http://www.adobe.com/support/loganalyzer/ to automatically review your installation log and attempt to locate a solution.  The summary you posted is not always complete so a look at the actual log itself would be beneficial.
    If you would like to review the installation log file yourself then Troubleshoot CS5 and CS5.5 installation with install logs - http://kb2.adobe.com/cps/844/cpsid_84451.html provides guidence on how this can be accomplished.

  • How to get this output?

    I need to get the following output
    1
    2 3
    4 5 6
    7 8 9 10
    This is my code so far
            int j=0;
            int y = 0;
            for (int i = 1; i <= 4; i++) {
                if( i == y) i += 1;
                for (j = 0; j < i; j++) {
                    y = i+j;
                    System.out.print(y);
                System.out.println("");
            }And this is the output I get
    1
    23
    4567
    Any help?

    I don't understand the logic.
    what is this for?
    if( i == y) i += 1;by increasing i more than once per loop (including the i++ at for() part), you are decreasing the number of loops. That is why your output is only 3 lines.
    Message was edited by:
    Icycool

  • How to print this output. (Array)

    Hi all. I have two String array:
    String[] a = { "a", "b", "c", "d", "e" };
    String[] b = { "b", "d" };
    I want to print this two array into this output:
    Output:
    a
    bb
    c
    dd
    e
    Anybody can help me how to get this output. I have try with a for loop, but it's not working.

    try this,
    boolean found=false;
    for(int i=0; i<a.length;i++)
             found=false;
             for(int j=0;j<b.length;j++)
                     if(a.equals(b[j])
    found=true;
    if(found==true)
    System.out.println(a[i]+a[i]);
    else
    System.out.println(a[i]);

  • Using regular expressions to get a customized output

    Hi,
    I have a string/varchar variable with the data ',a,b,c,' in it.
    I want the display as follows:
    a
    b
    c
    I would like to get the similar output using regular expressions.
    How do I get this output using REGEXP_REPLACE or REGEXP_SUBSTR?
    Please do the needful.
    Thanks & Regards,
    Rakshit

    I remember that, however if we look closer, that one has a little flaw: The 2nd row should be null, because ",," indicates an empy field. The MODEL clause solution works just fine in this case:
    with t as (select 'aaaa,,bbbb,cccc,dddd,eeee,ffff' col1 from dual)
    -- end of sample data
    SELECT col_new
      FROM t
    MODEL
       PARTITION BY (ROWNUM rn)
       DIMENSION BY (0 dim)
       MEASURES(col1, col1 col_new)
       RULES ITERATE(99) UNTIL (ITERATION_NUMBER = LENGTH(REGEXP_REPLACE(col1[0], '[^,]')))
                    (col_new[ITERATION_NUMBER] = REPLACE(REGEXP_SUBSTR(col1[0], '(^|,)[^,]*', 1, ITERATION_NUMBER+1), ','))
    COL_NEW                                                                                                                                                                  
    aaaa                                                                                                                                                                     
    bbbb                                                                                                                                                                     
    cccc                                                                                                                                                                     
    dddd                                                                                                                                                                     
    eeee
    ffff
    7 Zeilen ausgewählt.Update: I had this nagging feeling that I missed something, and there it was. If you want to see what the problem with my solution is, change the example to
    with t as (select ',aaaa,,bbbb,cccc,dddd,eeee,ffff' col1 from dual)So I went back and tried to fix BlueShadows approach. Here it is:
    with t as (select 'aaaa,,bbbb,cccc,dddd,eeee,ffff' txt from dual)
    -- end of sample data
    SELECT REPLACE(REGEXP_SUBSTR(',' || txt, ',[^,]*', 1, level), ',') col_new
      FROM t
      CONNECT BY level <= length(regexp_replace(txt,'[^,]*'))+1
    ;C.

  • How to fetch substring using regular expression

    Hi,
    I am new to using regular expression and would like to know some basic details of how to use them in Java.
    I have a String example= "http://www.google.com/foobar.html#*q*=database&aq=f&aqi=g10&fp=c9fe100d9e542c1e" and would like to get the value of "q" parameter (in bold) using regular expression in java.
    For the same example, when we tried using javascript:
    match = example.match("/^http:\/\/(?:(?!mail\.)[^\.]+?\.)?google\.[^\?#]+(?:.*[\?#&](?:as_q|q)=([^&]+))?/i}");
    document.write('
    ' + match);
    We are getting the output as: http://www.google.com/foobar.html#q=database,*database* where the bold text is the value of "q" parameter.
    In Java we are trying to get the value of the q parameter separately or atleast resembles the output given by JavaScript. Please help me resolving this issue.
    Regards
    Praveen

    BalusC wrote:
    Regex is a cumbersome solution for fixed patterns like URL's. String#substring() in combination with String#indexOf would most likely already suffice.I usually agree, although, in this case, finding the exact parameter might be difficult without a small regex, perhaps:
    "\\wq=\\s*"in conjunction with Pattern/Matcher, used similarly to an indexOf() to find the start of the parameter value.
    Winston

  • Using regular expressions for validation in i18n

    Can we use regular expressions for validation of inputs in a java application taking care of i18N aspects too. Zip code for different locales are different. Can we use regular expressions to validate zipcode inputs from different locales

    hi,
    For that shall i have to create individual patterns for matching the inputs from different locales or a single pattern will do in the case of validating phone nos. around the world, zip codes etc. In case different patterns are required, programmer should have a konwledge of difference in patters for different locales.
    regards
    sdas

  • MAC OS Yosemite - CS6 - A while back, i did something to where when i open a file in photoshop, it no longer is one window, now it's two separete ones. one for the program itself, and another for the actual file how do it get it back to where it's all one

    - A while back, i did something to where when i open a file in photoshop, it no longer is one window, now it's two separete ones. one for the program itself, and another for the actual file how do it get it back to where it's all one window without having to be in full screen mode? I've managed to go some time like this, but right now it's just really annoying me. HELP!!!

    Just drag the small window to the top right below the toolbar, you'll see the area highlighted and when you drop it the file should dock.

  • When connecting my iphone 4 to itunes for the first time i get the following message "cannot connect to this device because Apple Mobile Service is not started" what does this mean and how do I solve it?

    when connecting my iphone 4 to itunes for the first time i get the following message "cannot connect to this device because Apple Mobile Service is not started" what does this mean and how do I solve it?

    I'd start with the following document with that one:
    iPhone, iPad, iPod touch: How to restart the Apple Mobile Device Service (AMDS) on Windows

Maybe you are looking for

  • HT1454 Where can I get an iPhone 4S av lead

    Where can I get an AV lead for an iPhone 4S many thanks

  • Labour hours posting against an internal order

    Hi Gurus, I have a requirement wherein we will be using internal order to collect costs. This internal order is linked to the sales order line item via account assignment. We will be doing T&M/RRB for this particular line item. I wanted to do confirm

  • Active Directory Integration and home folder mounting

    Hello, I've set up a G4 tower with Tiger 10.4.4 and bound it to our AD domain. Authentication works perfectly, however the home directories of the users (on smb shares on windows servers) do not mount consistently. At first I thought that it was work

  • Placing a logo in Mail signature

    I know how to set up a signature in Apple Mail for OSX Mavericks.  But when I try to place a logo within the signature, it is not saved?  Suggestions?

  • FWZE SAM1104 Inflows/outflows in the status plan must first be fixed

    When I create a zero bond with FTR_CREATE I can post the initial payment (95000 EUR) at start of term and the amount (100000) (5 % interest over a year) that we would get back at end of term in the Structure tab page. I tried with transaction FWZE to