Find after all string

Hi I have a string and i want all value after note

Ex- str=note:abcd:desg:dgsjds-hdak

output=abcd:desg:dgsjds-hdak

Can any one help me on this string?

str = note:abcd:desg:dgsjds-hdak.replace(“note:”,string.empty)

Hi @Himanshu_Pratap_Rana

system.text.regularexpression.regex.match(inputvariable,“(?<=:).*”).value

image

hope this helps

Hi @Himanshu_Pratap_Rana

By using the regex you can try !

StringVaraible = System.Text.RegularExpressions.Regex.Split(“note:abcd:desg:dgsjds-hdak”,“note:”).Last

for the reference you can see the screenshot

grafik

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.