Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

How to replace string between two comas with Regex?

$
0
0

I have string in this format: Sentence 2, Column 27, ...some text ...

I want to remove section ", Column 27, " (comma, word "Column", number and comma) from this string. In this string is always on first position word "Sentence" and number, then comma, word "Column" and number plus comma. 

How can I do this?


Viewing all articles
Browse latest Browse all 31927

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>