I have the following string which contains reviews for products, I want to move sentences like 1 of 3 and 4 of 13 into new lines
Input string
The mapping features have a lot of inaccuracie 1 of 3
am a little disappointed in the new 4S. 4 of 13
Output string
The mapping features have a lot of inaccuracies
1 of 3
am a little disappointed in the new 4S
4 of 13
I was trying Regex.Replace
because it changes all occurrences in the string
I located the string using @"\d+ of \d+"
but how can I keep the variable number in the replacement text? Or can you suggest a different method?