Testing creating a question. Do you know the answer?<br /> A) first answer<br /> B) second answer<br /> C) doodles<br /> <br /> Testing creating a second question.<br /> T) true<br /> F) False<br /> <br /> Third question will go right here?<br /> A) green<br /> B) blue<br /> C) red<br /> D) apples<br /> E) all of the above
Dim strFullText As String = System.IO.File.ReadAllText(txtTextDoc.Text) Dim myRegex As New System.Text.RegularExpressions.Regex("[\n\n]") For Each strQuestion As String In myRegex.Split(strFullText) '...code to process the question goes here Next
[\n\n]
Dim myRegex As New System.Text.RegularExpressions.Regex("\r\n\r\n|\n\n")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)