regex

surfmore

Client
Регистрация
08.09.2011
Сообщения
138
Благодарностей
7
Баллы
18
I am trying to extract all hashtags in a instagram page, but i could not find the right regex.

I am using this bellow (string that starts with # and after it has an space - shortest match)

\#.*?(?=\ )

But a lot of crap is coming together. How do i improve this regex to get only the hashtags and not parts of the DOM that has nothing to do with the hashtags?

thanks.
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 300
Благодарностей
5 861
Баллы
113
Please provide code sample and specify what you exactly need to extract from it.
 

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