I need to get a spesific string Iin between filepath

HI @Ahmad_Rais

You can try with Regex

system.Text.RegularExpressions.Regex.Match("aaaaa\afq3\aveav32\aef2**This is the strting i want234**4.msg","(?<=\*\*).*(?=.msg)").Tostring

image

image

Regards
Gokul