Facing issue in split

i want the data between dp/ to /ref. how can i do this?
my desire result wold be-B00JDAE3J2

If MyText contains the text you’ve shown above, you can get the data by assigning a string to System.Text.RegularExpressions.Regex.Match(MyText, "(?<=dp\/).*(?=\/ref)").Value.

1 Like

thank you…

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