i am using activity find matches pattern its giving correct first match
but how to get the seond match and others
i am using activity find matches pattern its giving correct first match
but how to get the seond match and others
You can try with Matches
in the Regular expression
System.Text.RegularExpressions.Regex.Matches("Yourstring","Pattern")(0)
You can Increment the Values in the expression like (1) , (2)
Or
You can try with For Each activity
Regards
Gokul
The output of the matches will be stored as a collection. Use for each activity to iterate the collection variable. Then you get the all matches
Hope it helps!!
Can you provide whole string?
Here is Regular expression
System.Text.RegularExpressions.Regex.Match("Yourstring","[A-Z0-9-]+").Tostring
Regards
Gokul
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.