I have an address as string and i want to show it in 2 lines , for example address
A Building 10 mynew Road Singapore 208718
I want to show as follows ,
A Building 10 mynew Road
Singapore 208718
I have done it in a following way ,
Dim parts1 As String() = Regex.Split(addr, "singapore", RegexOptions.IgnoreCase)
If (parts.Length > 1) Then
addr = parts(0) + "<br/> Singapore" + parts(1)
End If
But the problem i have is , the text Singapore may come as S'pore as well , in this time how I can split with regular expression ?