Hi Team
I need to get the total amount from the below pattern
1st pattern is to find the header from the file
2nd pattern is to find the below subheadings from the 1st Pattern
Im using regex ismatches activity
1st regex
Pattern= “Taxes & Fees(\s\S]*?)(ADD/APPENDIX)”
Pattern options = Ignorecase,Complied
Text to search in = XML_File.replace(“&”,”&”)
First Match = Taxes_tosearch
2nd regex
pattern= “(T1|T2|T3|T4|T5)\s*$([0-9,]+(?:[0-9](1,2}))”
Pattern options = Ignorecase,compiled
Text to search = Taxes_tosearch
Result = Taxes_List
Now i need to get the total amount from the pattern.
Hi, untill and unless you share a sample data of input string, it would be difficult for anyone to recommend you any regex. Share a sample data (change actual values, if you can shared any actual case).