Facebook friends adder using regex

Status
Not open for further replies.

sandor555

Registered
Original poster
Joined
Aug 23, 2011
Posts
1
Reaction score
0
Points
0
Hello!
I did not really go to the regex, and not the English ...
I want to ask for help.
Facebook friends adder using regex visual basic code:
does not work, what's wrong with it?

Dim R As New Regex("/(?:http:\/\/)?(?:www.)?facebook.com\/(?:(?:\w)*#!\/)?(?:pages\/)?(?:[\w\-]*\/)*([\w\-]*)/")
For Each M As Match In R.Matches(TextBox.Text)
ListBox1.Items.Add(M.Value.Split("""").GetValue(2))

Next

Thanks in advance for your help.
 

Codez Hybrid

PHP Coder
senior
member
Trade With Caution!
Joined
Dec 29, 2010
Posts
4,756
Reaction score
1,655
Points
89
Location
Indiana, USA
Website
www.offerscript.net
the regex you have seems to be the format for PHP....
 
Status
Not open for further replies.