I have this string: \"NT-DOM-NV\\MTA\" How can I delete the first part: \"NT-DOM-NV\\\" To have this as result: \"MTA\"
How is it possible with RegEx?
Given that "\" always appear in the string
var s = @"NT-DOM-NV\MTA"; var r = s.Substring(s.IndexOf(@"\") + 1); // r now contains "MTA"