IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  regex in exclude (or rename whatever)

    Posted Tue July 10, 2018 11:28 AM

    I have done a find (and another). Because the result of the finds add up, I ended with 2 the same file names (and a couple of other names). I would like to exclude one of the duplicates using a regular expression.
    Would that be possible?

    I have tried (XXX*_VNI)? and ((XXX*_VNI)?) and (XXX*_VNI){1} and ((XXX*_VNI){1}). Nothing.
    Can it be done? How?

    Thanks…


    #webMethods
    #Integration-Server-and-ESB
    #Managed-File-Transfer


  • 2.  RE: regex in exclude (or rename whatever)

    Posted Fri August 10, 2018 08:07 PM

    Found answer for this?

    (FilePattern1)|(FilePattern2)*.extn


    #webMethods
    #Integration-Server-and-ESB
    #Managed-File-Transfer


  • 3.  RE: regex in exclude (or rename whatever)

    Posted Mon August 20, 2018 07:55 AM

    I did not find a solution, so I just worked around the problem. I added a few more steps to avoid finding the same file twice.


    #Integration-Server-and-ESB
    #webMethods
    #Managed-File-Transfer


  • 4.  RE: regex in exclude (or rename whatever)

    Posted Wed August 22, 2018 03:42 PM

    Thanks for the update with your custom work around!

    Cheers!
    RMG


    #webMethods
    #Integration-Server-and-ESB
    #Managed-File-Transfer


  • 5.  RE: regex in exclude (or rename whatever)

    Posted Wed August 22, 2018 06:26 PM

    So it works now for me with REGEX:(PATTERN1|PATTERN2)*(EXT1|EXT2) at the front


    #Integration-Server-and-ESB
    #webMethods
    #Managed-File-Transfer