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?
Loading
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?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Uttam KumarPosted Jul 9, 2022, 1:27 AM