I have some text looking like this:
My arbitrary content....
```c#
public class Foo
{
//Some code
}
```
My other arbitrary content....
I want to find all blocks starting with:
```c#
and ending with:
```
and replace it with the content between these start and end tags, so that the result becomes:
My arbitrary content....
public class Foo
{
//Some code
}
My other arbitrary content....
How would that look?
It sounds like you just want to remove the triple backtick style markers and leave the rest of the document unchanged.
See it working online: ideone