D03ZLQM22223000W
Showing always not going to 2 trn no
You need to use Matches instead of Match
System.Text.RegularExpressions.Regex.Matches(YourString,“(?<=TRN\sREF\sNO:)\S*”)
Regards
Sudharsan
You need increment the count in the expression to get all the values
System.Text.RegularExpressions.Regex.Matches(YourString,"(?<=TRN\sREF\sNO:)\S*")(0)
System.Text.RegularExpressions.Regex.Matches(YourString,"(?<=TRN\sREF\sNO:)\S*")(1)
Check out the above expression (0),(1),(2),…
Regards
Gokul
it can work by giving * value in bracket? for all
like place of 0 1 and 2
or we can do bt (0+*) for give x value>=0
Based on your structure of coding you can give the count increment in the expression @Kuldeep_Pandey
Pls explain me how to give this count expression to get this
Its not giving me right output its giving one one alphabet of trno
Remove this assign activity and the RHS value in the For each
Or You need to change the variable Type for Trno
String to System.Text.RegularExpressions.MatchCollection
Regards
Gokul
Ok but i need first transaction type also from pdf pls tell me how to do
like i want sweep transaction and EFT OUTGOING AND Many more types After date in first column it will always there