I have a parsing question. I have a paragraph which has instances of : word . So basically it has a colon, two spaces, a word (could be anything), then two more spaces.
So when I have those instances I want to convert the string so I have
- A new line character after
:and the word. - Removed the double space after the word.
- Replace all double spaces with new line characters.
Don’t know exactly how about to do this. I’m using C# to do this. Bullet point 2 above is what I’m having a hard time doing this.
Thanks
You can try