I am using assign activity and i want to get multiple match and store it into an collection type variable
Closing balance as 30-Jun-2023 18,444.386
Blocked Amount as 03-Jul-2023 0.000
Available Balance as 03-Jul-2023 159989.386
I want to extract closing and available balance from above text using single assign activity
You can try like this .
use the assign activity and create a variable and value you can provide like this = System.Text.RegularExpressions.Regex.Matches(Input,“[0-9,]+.[0-9]+”)
it will be in collection so based on index you can call like this
1.System.Text.RegularExpressions.Regex.Matches(Input,“[0-9,]+.[0-9]+”)(0).value for getting Closing Balance
2…System.Text.RegularExpressions.Regex.Matches(Input,“[0-9,]+.[0-9]+”)(2).value for getting Available Balance