scrape google results regex?

etelliman

Client
Регистрация
08.07.2012
Сообщения
21
Благодарностей
1
Баллы
0
Help! I can't seem to figure out the right regex for scraping google results. :(
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
(?<=class="l"\ target="_blank"\ href=").*?(?=")
 
  • Спасибо
Реакции: etelliman

etelliman

Client
Регистрация
08.07.2012
Сообщения
21
Благодарностей
1
Баллы
0
i cant seem to make it work rosto, it shows no results. :confused:
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Tested yesterday. Worked fine on google.ru :-)
 

busymofo

Client
Регистрация
25.08.2012
Сообщения
26
Благодарностей
0
Баллы
0
try (?<=<h3\ class="r"><a\ href=")[\w\W]*?(?="\ class)

for google.com
 

alain26

Client
Регистрация
06.12.2011
Сообщения
39
Благодарностей
0
Баллы
0
Hello

I need the regex not for scrape not url but the anchor text of link

Thanks
 

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