Hello I am tried to extract an XML value from the below XML data using Regex, I have used Regex builder and wrote expression “<TRANS_NO>(.*?)</TRANS_NO>” which returns full tag instead of only the the value ‘22170’. Please help me
Hi @allen3736
(?<=\<TRANS_NO\>)(.*?)(?=\</TRANS_NO\>)
1 Like
For xml you can deserialize and access the info easily…instead of using regex and all…please check this
Cheers
1 Like
@vrdabberu Thank you for quick response with solution. I can now get the value alone
Hi @allen3736
If you find the solution for your query please do mark as solution to close the loop.
Thank You.
Regards
Thanks for the solution closing the thread.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.

