Ok the question is very simple if someone can help me to fix this problem.
I have created the program which is extracting doman names links from google but the problem with it that it can extract random domain names links.
I wanna to extract related domain links as i type from textbox1 and put them in listbox related domain names links.
Example:
This is what i want - freeware it extracts links as freeware but puts too and junk links as google,youtube and on.
So i want to make work as i type from keywords
example freeware and get all links with like this
More example:
like so i want to make my regex code to work if understand not put www.google.com or other links which is not relating from above.
and here is my a part of code regex
what am i doing wrong can fix it ?
To understand what i mean to say.
Look at the picture iliustraisions.
This is that i want to remove

Leave only these matching found

And this is the code how to remove the dups junk links from the listbox but it doesn't work.
actually it remove but leaves google links and other which is not relating that one.

And here how i want to be extracted only related
I have created the program which is extracting doman names links from google but the problem with it that it can extract random domain names links.
I wanna to extract related domain links as i type from textbox1 and put them in listbox related domain names links.
Example:
This is what i want - freeware it extracts links as freeware but puts too and junk links as google,youtube and on.
So i want to make work as i type from keywords
example freeware and get all links with like this
More example:
like so i want to make my regex code to work if understand not put www.google.com or other links which is not relating from above.
and here is my a part of code regex
Code:
http://\b\w+\s*\b\.(net|com|us|org|ru|lt|co.uk|tr|info)|(ftp|telnet)\*$
To understand what i mean to say.
Look at the picture iliustraisions.
This is that i want to remove

Leave only these matching found

And this is the code how to remove the dups junk links from the listbox but it doesn't work.
actually it remove but leaves google links and other which is not relating that one.

Code:
ListBox1.Sorted = True
ListBox1.Refresh()
Dim index As Integer
Dim itemcount As Integer = ListBox1.Items.Count
If itemcount > 1 Then
Dim lastitem As String = ListBox1.Items(itemcount - 1)
For index = itemcount - 2 To 0 Step -1
If ListBox1.Items(index) = lastitem Then
ListBox1.Items.RemoveAt(index)
Else
lastitem = ListBox1.Items(index)
End If
Next
End If