hi,
i need to replace the whole word from a string.

for example.
String= "Hi VBFriends, I am learning VB 2010."

i need to replace only VB as C#.

if i put String.Replace, its changing as "Hi C#Friends,I am learning C# 2010."

i used regex, Word boundary but not worked, below my code.

Code:
Dim sHTMLStream As String = "Hi VBFriends, I am learning VB 2010."
            Dim oColl As MatchCollection = Regex.Matches("sHTMLStream", "\\bvb\b", RegexOptions.IgnoreCase)
        For Each sTemp As Match In oColl
            MessageBox.Show(sTemp.Value)
        Next