Data Manipulation RegEx not printing correct results

I’m working on the “Data Manipulation with Strings in Studio” lesson from the Automation Developer Associate Training. I was following along with the tutorial demo on the RegEx builder wizard where you extract the addresses of multiple streets, but for some reason I am not getting the correct results when printed.

After using the For Each activity to iterate through the FoundStreets variable, the output is only showing me part of one singular street address broken up by each letter/digit instead of a whole address for each line.

I’m not sure what went wrong as I double checked with the solution file the lesson provided and everything looks exactly the same!



Hi @kdmontano25,

Welcome to the UiPath Community.

Please ensure to use the Result property to store the match results.

If that’s not the case then there might be some problem in the regex pattern you are using.

Thanks

Hi @Karan_Rautela

Thank you for the help, it works now! I had my result variable in the wrong place. I put it under first match in the output tab instead of the result under Misc. I think I got confused since the demo video looked a bit different than the version I’m currently using.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.