How can I extract succeeding strings

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

@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)

@oitot

Use this regular expresion

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

Regards

Please Update

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

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