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
Expand all | Collapse all

pub.string.replace / multiple changes. Is it possible?

  • 1.  pub.string.replace / multiple changes. Is it possible?

    Posted 06/10/10 12:17 PM

    Hi all,

    I have a big text (string) where I have different HTML-tags.
    (example:

    Hi all,

    1
    2
    3
    
    .........) Can I replace this tags in one flow service, something like: searchString: [

    ] replaceString: [ ], where

    = and

    =

    now I have:

    • few replace-flow services with one replace in each.
      I’d like to optimize it. Do You have ideas?
      Thank You,

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


  • 2.  RE: pub.string.replace / multiple changes. Is it possible?

    Posted 06/10/10 09:21 PM

    Replace accepts regular expressions. You may be able to figure out a regex that will do what you want.


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