I have been trying to make a filter for my incoming mails. I want to put any mails with other Urls in a folder to check later if I want.
I came up with http://([a-zA-Z0-9]*\.?)([a-zA-Z0-9]+)(\.)(tk|gs|mobi|co\.cc|in) but then figured there should be a way to say not .com,.net,.org so I can pick up any of the other extentions.
http://([a-zA-Z0-9]*\.?)([a-zA-Z0-9]+)(\.)(com|org|net?!) but I am not sure how to do the end part, I know ?! doesn't work but just showing where I am.
I have been testing against
http://domain.tk/whatever
http://www.domain.tk/whatever
http://whatever.domain.tk/whatever
http://domain.tk
http://domain.tkdsadasd
http://whatever.domain.tk/
http://domain.tk/
http://domain.tk/.
http://domain.tk.
http://www.domain.tk/.
http://adasdasd.domain.tk.
I don't need any information returned I just need to know if 'http://*.domain.tk', 'http://*.domain.gs', 'http://*.domain.in' or any of those other extensions exist.
Any help or ideas appreciated.