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
Hi @manoj_verma1
Try to give output in for each loop
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!!
@Gokul001 @lrtetala @mkankatala
what will be the regex for this
B-123Q00001234
Will you provide the total string and which part have to extract as output.
@manoj_verma1
Can you provide total string
@lrtetala @mkankatala I AM reading a pdf file and need to extract some data from that
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.