Я думаю, что здесь может сработать регулярное выражение:
Dim m As Match = Regex.Match(inputString, _
@"<source src=\"(.*?)\"", _
RegexOptions.IgnoreCase)
If (m.Success) Then
' Loop through each group (which will contain the href value)
' Open with that href and just do a replace on the original string
' m.Groups(1).Value
End If
Или вы можете загрузить HTML в XmlDocument и заменить его таким образом.
Dim m_xmld As XmlDocument
Dim m_nodelist As XmlNodeList
Dim m_node As XmlNode
' Create the XML Document
m_xmld = New XmlDocument()
' Load the Xml file
m_xmld.Load("html string here")
' Get the list of name nodes
m_nodelist = m_xmld.SelectNodes(@"//video/source")
For Each m_node In m_nodelist
' Get the attribute value
Dim srcValue = m_node.Attributes.GetNamedItem("src").Value
' Load the value and store new value
' Replace the attribute with the new
m_node.Attributes.SetNamedItem(NEWVALUE)
Next