Hello,
You can put this in to an assign activity:
Country = System.Text.RegularExpressions.Regex.Match(yourtextvariable,“(?>Country of Incorp.: )(.+)”).Groups(1).Value.ToString.Replace(“\n”,“”).Trim
You can test your regex here:
Here you can have more info about Regex:
I hope it helps…
Vasile.