Reverse a regex to find the external urls

stefbox

Client
Регистрация
11.03.2013
Сообщения
24
Благодарностей
0
Баллы
1
Hello,

I made a scraper to scrap all the urls of a website. I have a file that has all the urls.
I would like to make a regex that displays all external urls.

I can do a regex that displays the urls of "domain1", I'd do the reverse to find the external urls.

Do you have an idea to make the regex external urls?
 

zeus

Client
Регистрация
03.07.2012
Сообщения
99
Благодарностей
21
Баллы
18
I am not sure if I understand correctly.
You have a list of url's and you want to extract all external url's?
If so then duplicate list - list processing - delete elements - contains 'domain.com'
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
831
Баллы
113
You can take the whole list if URLs. Go trough each of URL and if it doesn't contain "domain1" then put to list of external URLs
 

stefbox

Client
Регистрация
11.03.2013
Сообщения
24
Благодарностей
0
Баллы
1
Hello,

Sorry for the late reply;-)
I Thank you infinitely;-)
I had not seen the function in listprocessing;-)
You solved my problem

Thank you very much for your help and see you soon
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)