in my case i extracted and stored into varaible but i want write the content in excel there is some much unwanted text but i want only required data what i need how to do this ?
Kindly update rate for Import N Export
US Dollar IMPORT 84.85 EXPORT 83.10 EURO IMPORT 93.85 EXPORT 90.70
Hie @Naveen_Kanike as i can see you output result after IMPORT it have 2 space and then value … thats why my regex pattern not giving you the value … try with this logic
System.Text.RegularExpressions.Regex.Matches( strregex,“IMPORT\s\s(\d+.\d+)”)
like the code is same but you have to add one more space like this …
try and let me know the result output …
or if not working use the UiPath Find Matching Pattern activity
i want the US Dollar and euro also what ever it may be sometimes there could different country curreny also i want them in dynamically ie., us dollar, eur, other counties currencys.
below format i have store it always in excel
Currency Port Value
US Dollar IMPORT 84.85
EXPORT 83.10
Currency Port Value
EURO IMPORT 93.85
EXPORT 90.70
@Naveen_Kanike if you have to extract that data and save into the excel sheet regex pattern give you the value. you can store them and use build datatable and add row activity and one write range activity to pass them and for country name make a different regex pattern . because you cannot extract whole logic in one code …so extract them one by one and write them into the excel. this way you can extract …