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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Need help with regular expression!

    Posted 06/23/09 05:27 PM

    Hi,

    I need a pattern for setting the file name filter in File Polling Listener Configuration (administration). i simply need to find 8 (poll for) filenames with 36 characters length.

    I did something like /{0,35}/ but it did not work.

    I want to poll files like SX8010RFBILA01bis162009_20090618.txt

    When a file like SX8010RFBILA01bis162009_20090618Z.txt appears in the monitoring directory, the file should be ignored.

    So the regular expression could also look something like $/^d555/].txt
    to see if the last char before .txt is a number.

    I really appreciate your help.

    Thanks.


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: Need help with regular expression!

    Posted 06/24/09 08:30 AM

    I found this in a diffrent thread on wmus…com .

    This KB article on Advantage discusses the regex supported by the file polling port:
    https://advantage.webmethods.com/adv...oid=1613386882

    That article refers to a link that describes the class that the file polling port uses for regex handling:
    http://jakarta.apache.org/oro/api/or...bCompiler.html

    So it is not regular expression.

    Still have to find a solution (pattern) for my todo.


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: Need help with regular expression!

    Posted 06/24/09 08:48 AM

    I found a solution.

    I use the following pattern: *[0123456789].txt


    #webMethods
    #Integration-Server-and-ESB