I want to replace new line with break and spaces before the text must be same.
For eg:

**Text:** 

This is .net class with 100 students.

```
 They are able to perform well.

      They require certification for career improvement.

```

This is the above format i require with same indent.

I have regular expression i.e lblQuestion.Text = lang.Replace("\n", "  
");
but it is replacing only text to next line but it is missing the spaces and giving me output as

PRESENT OUTPUT:

This is .net class with 100 students.

They are able to perform well.

They require certification for career improvement.

REQUIRED OUTPUT:

This is .net class with 100 students.

```
 They are able to perform well.

      They require certification for career improvement.

```

Please help me on this.