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)


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”



Use this regular expresion



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!