Since you did not say that it was always a timestamp at the beginning, I decided instead to iterate over the string to find the first alphabetical character, not hardcoding s.Remove(0, n); , where n, however, many digits are in the timestamp.
string s = "20150910000549659ABCD000007348summary.pdf"; s = s.Replace("summary.pdf", String.Empty); int firstLetter = 0; foreach (char c in s) { if (Char.IsLetter(c)) { firstLetter = s.IndexOf(c); break; } } s = s.Remove(0, firstLetter);
source share