regExReplacer lowercase

9 views
Skip to first unread message

callmes...@gmail.com

unread,
Dec 18, 2018, 1:51:21 PM12/18/18
to membrane-monitor
Hello,


   I was wondering if regExReplacer supports RegEx expressions, or accepts just strings?

   I am trying to change a value in SOAP/XML request from Mixed case to lowercase, similar to this:

    <Name>JSmith</Name>  and replace with <Name>jsmith</Name>

    Here is the code that I tried, but it does not work:

        <serviceProxy name="My Reverse Proxy" port="2000" >
            <regExReplacer regex="<\s*Name[^>]*>(.*?)<\s*/\s*Name>" replace="<Name>\L$1<\/Name>" />
            <target host="web.lab.local" port="80"/>
        </serviceProxy>


   So my question is: is this possible using regExReplacer?

   If not, is there another way to accomplish this?


thanks!
Reply all
Reply to author
Forward
0 new messages