Hello All,
In the above expression I need to get the value till third back slash ''.
means till xxx.
here string xxx can be any other string
like karan.arora or anything. but the substring as an output should be till the 3rd back slash.
Hi @Karan28
Use following code in Assign. System.Text.RegularExpressions.Regex.Match(YourStringVariable,".+(?=\\yyy)").ToString .
Assign it to a string Variable.
@Karan28
Use this Str.Split(cchar("\"))(0)+"\"+Str.Split(cchar("\"))(1).Split(cchar("\"))(0)+"\"+Str.Split(cchar("\"))(2).Split(cchar("\"))(0) or
Use Str.Substring(0,13).