regex

  • Автор темы Автор темы surfmore
  • Дата начала Дата начала

surfmore

Client
Регистрация
08.09.2011
Сообщения
139
Реакции
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.
 
Please provide code sample and specify what you exactly need to extract from it.
 

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