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.  Regular expression

    Posted Fri July 23, 2010 08:22 PM

    Hello,

    I would like to get the value based on the regex. For example, I have a string text as follows:

    “test.txt” (double quote is included in the string)

    I want to use regex to get the value text.txt.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 2.  RE: Regular expression

    Posted Fri July 23, 2010 09:31 PM

    Hi, try with this. If the value have that format “text.txt” you can get in the branch.
    /^"\S+.txt"$/
    Regards


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 3.  RE: Regular expression

    Posted Fri July 23, 2010 09:35 PM

    But if I’m using a branch step, I’m just executing a conditional logic. I just want to search the string and give me the value. Basically, I want everything inside the double quote which is text.txt


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 4.  RE: Regular expression

    Posted Sat July 24, 2010 01:33 PM


  • 5.  RE: Regular expression

    Posted Sat July 24, 2010 05:22 PM