Hi guys,
I’m trying to extract piece of info from a text file using regex expn by using activity MATCHES and saving result say var1.
And if am try to print the Var1. It returns an object not a value.
And also tell me also while assigning regex expn to a variable how can i add ignore case and dotall.
Hi @Sriram07
use a for each loop activity and pass the matches output to the for each loop and now you can assign the value of for each loop Item which will have the value of matches, to a variable you want
like this
Yeah i know this!
I’m asking how to give that while assigning
Say Var1 = system.text.regularexpressions.regex.matches(input,regex)
in that how to add also ignorecase and dotall