Please can someone tell me what regex to use to:
Split richtextbox1.text into paragraphs (where blank line is found)
I have tried "\r\n\r\n" but it does not seem to work on richtextbox.
Why does this regex work in a textbox but not in a richtextbox ?
Thank you
Split richtextbox1.text into paragraphs (where blank line is found)
I have tried "\r\n\r\n" but it does not seem to work on richtextbox.
VB.NET:
For Each para As String In System.Text.RegularExpressions.Regex.Split(Richtextbox1.Text, ("\r\n\r\n"))
'MessageBox.Show(para)
Next
Why does this regex work in a textbox but not in a richtextbox ?
Thank you