For Each email: Unable to cast object of type 'System.Char' to type 'System.Text.RegularExpressions.Match'.For Each email: Unable to cast object of type 'System.Char' to type 'System.Text.RegularExpressions.Match

For Each email: Unable to cast object of type ‘System.Char’ to type ‘System.Text.RegularExpressions.Match’.For Each email: Unable to cast object of type ‘System.Char’ to type 'System.Text.RegularExpressions.Match

Hi @shubham.jadhav

You need to pass result variable in For Each loop because the result variable will store the collection of data that is extracted.

ex_email will just store the First Match extracted from the regular Expression. And the variable datatype will be System.String.

But the variable datatype of result would be IEnumberable<Match>

Hope you understand!!

Regards

1 Like

Thanks it worked. Can you please help me with my recent issue with multiselect dropdown on UiPath Apps ?

Please guide me with this issue.

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