Forum Discussion
SmartBear_Suppo
Alumni
12 years agoHi,
I tested this
in a regular expression editor http://gskinner.com/RegExr/.
With this content:
And it should match only <ns2:I>(12649064,U|289843,D|274039,A|73611,S|34,P|2,PL)(S,C| and ,SSO|R_P,AC_TE)</ns2:I> skipping the db2* string.
Did that work for you? A similar regular expression should work on the latest xml snippet you posted.
Regards,
Marcus
SmartBear Support
I tested this
(?s).(<ns2:I>\(12649064,U\|289843,D\|274039,A\|73611,S\|34,P\|2,PL\)\(S,C\|)|(,SSO\|R_P,AC_TE\)</ns2:I>)
in a regular expression editor http://gskinner.com/RegExr/.
With this content:
<ns2:A>SA</ns2:A>
<ns2:B>S</ns2:B>
</ns2:A>
<ns2:C>123</ns2:C>
<ns2:D>N</ns2:D>
<ns2:E>B</ns2:E>
<ns2:F>None</ns2:F>
<ns2:G>ONLINE_REGISTERED</G>
<ns2:H>s</ns2:H>
<ns2:I>(12649064,U|289843,D|274039,A|73611,S|34,P|2,PL)(S,C|db214a9f7a45341da252f64-602a0d8f43650d4d,SSO|R_P,AC_TE)</ns2:I>
And it should match only <ns2:I>(12649064,U|289843,D|274039,A|73611,S|34,P|2,PL)(S,C| and ,SSO|R_P,AC_TE)</ns2:I> skipping the db2* string.
Did that work for you? A similar regular expression should work on the latest xml snippet you posted.
Regards,
Marcus
SmartBear Support