Email address regex

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

Vladimir99

Client
Регистрация
14.02.2019
Сообщения
34
Реакции
2
Баллы
8
Hi everybody,

I need your help for regex:

I want to extract email in webpage DOM, actually i use this regex that working fine :

[a-zA-Z0-9._%-]+\@[a-zA-Z0-9.-]+\.[a-zA-Z]+

But sometime there is in page source code this element : soda-logo@2x.02d13ae2.png (it's css or something else but not email address)

I would like to exclude this element from my regex (for example not .png)

How i can do that ??

Thank for your help
 
If you save results to list, then you can delete such lines containing .png with list processing operations.
Containing text.png
 
  • Спасибо
Реакции: sam16
Ok fine, thanks I hadn't thought about it

:)
 

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