How can I extract succeeding strings


#1

I use matches activity to retrieve but I can’t understand Regular expression.
How can I write pattern?Extract.xlsx (16.7 KB)


#2

@oitot

var = a ball my name is varun and use this
o/p= get value between my and varun

Below method get u output “name is”

outputText=var.Split({“my”,“varun”},StringSplitOptions.None)(1)


#3

@oitot

Use this regular expresion

System.Text.RegularExpressions.Regex.Match(YourVariable,"\d{4}-\d{2}-\d{5}")

Regards

Please Update


#4

Sorry for my late reply. It worked very well thanks!


#5

Sorry for my late reply.
outputText=var.Split({“my”,“varun”},StringSplitOptions.None)(4) (not (1)) worked ,thanks!