Darveson Wright

Darveson Wright

  • 1.6k
  • 103
  • 9.6k

Extract characters from string

Jul 8 2022 2:35 PM

I have a string which contains html source. Somewhere in the string, not at the end or beginning, is CS followed by 7 numbers. I want to extract these 9 characters into a variable. How is this possible with Regex, LINQ, etc?


Answers (1)