I want to check is there empty line in string or text file if available then I want to split texts on the base of that empty line
Hey have you got an example of the text you want to split?
And the ideal format you want it to to end in.
Just as there is several ways you can do it but just depends on the format.
You can check using below code, you will get output as true or false. @Mohsin_Inamdar
Var(Match type) = System.Text.RegularExpressions.Regex.IsMatch( InputStr,"^\s*$")
and then check the count of “Var” if its greater than 0 then it contains the empty line.