Hi,
I've seen the following post regarding the use of regex to extract text patterns and store onto a collection (http://www.rpaforum.net/threads/how-to-use-the-extract-regex-values-action-of-utility-strings.681/), is there a way to expand on this to extract certain texts after a pattern?
An example would be as follows:
Firstname: Zhi
Middlename: N/A
Lastname: Tan
Gender: male
Title: Mr.
Birthday: 2/19/1972
Street: 10 Toh Guan Road #04-09 TT International Tradepark Singapore 608838. Singapore
City(town): Singapore
State(area): N/A
I would like to extract the Firstname (i.e. the text following "Firstname:") using regex action. I've tried and figured out how to extract the pattern using the following regex:
(?<=\Firstname: ).*
But I couldn't integrate it into the Blue Prism action to save onto collection. Any one who has done sth similar or know of a solution using Regex, pls let me know.
Attached are the screen captures for the regex syntax which I think should work, but apparently it doesn't.
Thanks!
I've seen the following post regarding the use of regex to extract text patterns and store onto a collection (http://www.rpaforum.net/threads/how-to-use-the-extract-regex-values-action-of-utility-strings.681/), is there a way to expand on this to extract certain texts after a pattern?
An example would be as follows:
Firstname: Zhi
Middlename: N/A
Lastname: Tan
Gender: male
Title: Mr.
Birthday: 2/19/1972
Street: 10 Toh Guan Road #04-09 TT International Tradepark Singapore 608838. Singapore
City(town): Singapore
State(area): N/A
I would like to extract the Firstname (i.e. the text following "Firstname:") using regex action. I've tried and figured out how to extract the pattern using the following regex:
(?<=\Firstname: ).*
But I couldn't integrate it into the Blue Prism action to save onto collection. Any one who has done sth similar or know of a solution using Regex, pls let me know.
Attached are the screen captures for the regex syntax which I think should work, but apparently it doesn't.
Thanks!