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.  Regular expressions question

    Posted 04/29/04 05:31 PM

    I have a customer who is sending “XML” tags in the form of
    <20040802> and ending tag </20040802>
    Now in order to make well formed XML I need to use the replace method and a regular expression to search a string and replace any occurences of < followed by 8 numbers and </ followed by 8 numbers, but I can’t seem to get the syntax right.
    Anyone know the syntax for this?


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


  • 2.  RE: Regular expressions question

    Posted 04/30/04 02:03 AM

    Try this:

    pub.string:replace

    inString - </20040802>
    SearchString - [0-9]+[10-99]
    replaceString - X
    useRegex - True

    It should work.


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