So, if the First item in the listbox contained "Http%$$" then how would I change that to "Http://" without affecting the rest of the text in the item
Here is the code I have so far:
For Each item in Listbox1.Items Dim Selected_Item As String = ListBox1.SelectedItem Dim Slash As String Dim pattern As String = "$" Slash = System.Text.RegularExpressions.Regex.Replace(Selected_Item, pattern, "/") ListBox1.Item = Slash Next
But this doesn't work, I get an error saying "Input cannot be null"
This post has been edited by Jack Eagles1: 07 April 2009 - 03:26 PM