If you opt for string manipulations here is what you can do.
say your string variable is str
Do a split by ‘:’ so you get an array of strings say var-array and remove empty spaces option enabled.
so our array of string type looks like this:
a[0]= Revenue Account Sequence
a[1]= 96467, INCAS Amount Code
a[2]= AGS
so value1=a[1].Substring(0,a[1].IndexOf(","))
and value2= a[2]
Hey,
You can use regex to extract the data.
To extract number : (?<=Sequence :).(?=, INCAS)
use the above with in double quotes in matches activity and pass the string as input.
To Extract Account Code: (?<=Amount Code :).\w{3}