@alex117815 Если вставлять целую строку в "Прокси", login и pass прокси должны быть не менее 6-ти символов. Есть и ограничение на макс. кол-во символов. Лучше вставлять отдельно в свои строки login, pass, ip и port, распарсив строку через CSV.
Помогите, пожалуйста, с регуляркой.
-
Нужно вытянуть этот код: 5389 из переменной:
From: "Utair" <status@ffp.utair.ru> To: ajhs521r4h@myrumail.site Subject: Вход в личный кабинет Received: from vla1-c6ecc0093768.qloud-c.yandex.net (vla1-c6ecc0093768.qloud-c.yandex.net [2a02:6b8:c0d:1787:0:640:c6ec:c009]) by vla1-e15df4adcab5.qloud-c.yandex.net with LMTP id TX7APCcHQX-WcEKyWpy for <ajhs521r4h@myrumail.site>; Fri, 18 Dec 2020 04:43:18 +0300 Received: from suitepmta022002.emsmtp.us (suitepmta022002.emsmtp.us [185.90.22.2]) by vla1-c6ecc0093768.qloud-c.yandex.net (mxfront/Yandex) with ESMTPS id nB2aldFEiu-hH8WouEg; Fri, 18 Dec 2020 04:43:17 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Return-Path: suite16@nl.utair.ru X-Yandex-TimeMark: 1608255797.684 Authentication-Results: vla1-c6ecc0093768.qloud-c.yandex.net; spf=pass (vla1-c6ecc0093768.qloud-c.yandex.net: domain of nl.utair.ru designates 185.90.22.2 as permitted sender, rule=[ip4:185.90.20.0/22]) smtp.mail=suite16@nl.utair.ru; dkim=pass header.i=status@ffp.utair.ru X-Yandex-Suid-Status: 2 1130000060419644 X-Yandex-Spam: 2 X-Yandex-Fwd: MzMxNDQxNDMyMDI4NTU3NjIzNiw4MjA1MDE1OTI4Mzc5ODczOTk= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=key2; d=ffp.utair.ru; h=To:Subject:From:MIME-Version:List-Id:List-Unsubscribe:List-Unsubscribe-Post: Content-Type:Message-ID:Date; i=status@ffp.utair.ru; bh=S77TVuv+4li1/VjCvBlhRtxozMli+FgITbIerRqssHQ=; b=dcSO+hdtdZ8x2hT/Zy2+kKGbOPvXYCvBTqozjuK/NKAcNPS76mwHGTxG2RAdvfO0jds/qB0IqVft gWFws81kCOSehUl8At0fZGHWt6upEiIWAy8yvcD/v/M02oTGhybzq5CuYhoVmjysM4g6Oj5l4xwT UvBNeBTH/jeGJjeddL0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=key2; d=emarsys.net; h=To:Subject:From:MIME-Version:List-Id:List-Unsubscribe:List-Unsubscribe-Post: Content-Type:Message-ID:Date; bh=S77TVuv+4li1/VjCvBlhRtxozMli+FgITbIerRqssHQ=; b=cTRw0/Dmtkmcx4raB/rcsUXUOTor0sopavFqb1tsxVWI8A5blo9qjkshV4YakfIsSrOLrWsoyxQC f7kgJVUIq+3p3ZcowursRgtCF1sd8QtMWzvNFCPbd60Y/y2TmocxS3RX6V3hkFoEX9uLafMwU0Qg TzWyBaZz9dMVYIRVqFg= X-Mailer: class SMTPMail MIME-Version: 1.0 X-EMarSys-Identify: 766301119_2955850_1282598_TRANSACTIONAL List-Id: 766301119 <Utair> X-EMarSys-Environment: suite16 X-Report-Abuse: Please report abuse here: abuse-report@emarsys.com List-Unsubscribe: <mailto:list-unsubscribe+766301119_2955850_1282598_EBEZqin6Bq@emarsys.net>, <https://list-unsubscribe.eservice.emarsys.net/api/unsubscribe/766301119_2955850_1282598_EBEZqin6Bq> List-Unsubscribe-Post: List-Unsubscribe=One-Click Content-Type: multipart/alternative; boundary="--=_---NextPart--=_-AIiCSornLX" Message-ID: <0.0.2.578.1D6D4DF27F9701E.0@suitepmta022002.emsmtp.us> Date: Fri, 18 Dec 2020 02:43:16 +0100 X-Yandex-Forward: 1c3290e83429c5b016f28eeac6b07ecc X-Antivirus: Avast (VPS 201217-2, 17.12.2020), Inbound message X-Antivirus-Status: Clean Вход на сайт Utair Уважаемый пользователь, для входа на сайт Utair, пожалуйста, введите код: 5389 Если вы не делали запрос на вход, проигнорируйте это сообщение. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" lang="en" xml:lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width"> <title>Летайте безопасно с Utair</title> <style>@media only screen { html { min-height: 100%; background: #ffffff; } } @media only screen and (max-width: 624px) { table.body img { width: auto; height: auto; } table.body center { min-width: 0 !important; } table.body .container { width: 100% !important; } } @media only screen and (max-width: 1980px) { .body, html { background: #ebeef3 !important; } .container { margin-bottom: 10px !important; } .block { padding: 0 4% 5px !important; } .hr-mobile { display: none !important; } .RUB-600 { display: inline-block !important; } .RUB-mobile { display: none !important; } } @media only screen and (max-width: 900px) { .RUB-600 { font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif !important; } } @media only screen and (max-width: 599px) { .body { background: #ffffff !important; } .container { margin-bottom: 0 !important; } .block { padding: 0 1.5% 5px !important; } .hr-mobile { display: table-cell !important; } h2 { font-size: 16px !important; } p, li, a { font-size: 13.5px !important; } .footer table { width: 100% !important; } .footer p, .footer a{ text-align: left !important; font-size: 11px !important; } }</style> <!--[if (gte mso 9)|(IE)]> <style type="text/css"> a{ font-weight: normal !important; text-decoration: none !important; } .footer a { text-decoration: underline !important; color: #737576 !important; } .footer p { color: #737576 !important; } .hr-mobile { display: none !important; } </style> <![endif]--> </head> <body style="-moz-box-sizing: border-box; -ms-text-size-adjust: 100%; -webkit-box-sizing: border-box; -webkit-text-size-adjust: 100%; box-sizing: border-box; Margin: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; font-size: 15px; font-weight: normal; line-height: 1.5; margin: 0; min-width: 100%; padding: 0; text-align: left; width: 100% !important;"> <span class="preheader" style="color: #ffffff; display: none !important; font-size: 1px; line-height: 1px; max-height: 0px; max-width: 0px; mso-hide: all !important; opacity: 0; overflow: hidden; visibility: hidden;"></span> <table class="body" style="Margin: 0; background: #ffffff; border-collapse: collapse; border-spacing: 0; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; font-size: 15px; font-weight: normal; height: 100%; line-height: 1.5; margin: 0; padding: 0; text-align: left; vertical-align: top; width: 100%;"> <tr style="padding: 0; text-align: left; vertical-align: top;"> <td class="center" align="center" valign="top" style="-moz-hyphens: auto; -webkit-hyphens: auto; Margin: 0; border-collapse: collapse !important; color: #0a0a0a; font-family: Helvetica, Arial, sans-serif; font-size: 15px; font-weight: normal; hyphens: auto; line-height: 1.5; margin: 0; padding: 0; text-align: left; vertical-align: top; word-wrap: break-word;"> <center data-parsed style="min-width: 600px; width: 100%;"> <!-- Utair header --> <table align="center" class="container" style="Margin: 0 !important; background: #ffffff; border-collapse: collapse; border-spacing: 0; float: none; margin: 0 !important; padding: 0; text-align: left; vertical-align: top; width: 600px;"> <tr> <td class="block" height="100%" style="padding: 0 1%; padding-top:4% !important; padding-bottom: 2% !important; mso-padding-bottom-alt: 24px;"> <table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff" style=""> <tr> <td style="width:7.5%"> <img width="44" style="display: block; width: 100%; height: auto;" src="https://suite16.emarsys.net/custloads/766301119/md_796025.png" alt="" border="0"> </td> <td style="width:66%"></td> <td style="width:18.5%"> <img width="112" style="display: block; width: 100%; height: auto;" src="https://suite16.emarsys.net/custloads/766301119/md_164808.png" alt="" border="0"> </td> </tr> </table> </td> </tr> </table> <!--/Utair header --> <!-- description --> <table align="center" class="container" style="Margin: 0 !important; background: #ffffff; border-collapse: collapse; border-spacing: 0; float: none; margin: 0 !important; padding: 0; text-align: left; vertical-align: top; width: 600px;"> <tr> <td class="block" height="100%" style="padding: 0 1%; padding-top:4% !important; padding-bottom: 3% !important; mso-padding-bottom-alt: 24px;"> <h2 style="font-size: 21px; font-weight: 400; Margin:0; margin:0; padding:0 0 3.4%;">Вход на сайт Utair</h2> <p style="font-size: 17px; Margin:0; margin:0; padding:0 0 3%;">Уважаемый пользователь, для входа на сайт Utair, пожалуйста, введите код:</p> <table width="100%" cellspacing="0" cellpadding="0" border="0"> <tr> <td align="center" height="100%"> <p style="font-size: 24px; font-family: Tahoma; display: inline-block; Margin:0 auto; font-weight: 700; background: #f7f7f7; margin:0 auto; padding: 5px 15px; text-align: center;">5389</p> </td> </tr> </table> <p style="font-size: 17px; Margin:0; margin:0; padding:3% 0 3%;">Если вы не делали запрос на вход, проигнорируйте это сообщение.</p> </td> </tr> </table> <!--/description --> <!-- Utair footer --> <table align="center" class="container" style="Margin: 0 auto; background: #ffffff; border-collapse: collapse; border-spacing: 0; float: none; margin: 0 auto; padding: 0; text-align: left; vertical-align: top; width: 600px;"> <tr> <td class="block" height="100%" style="padding: 0 1% 5px; padding-bottom: 4% !important;"> <table width="100%" cellspacing="0" cellpadding="0" border="0" bgcolor="#ffffff" style=""> <!-- spacer in container--> <tr><td width="100%" style="font-size: 1px; line-height: 1; Margin:0; margin:0; padding: 0 0 1%;"></td></tr> <!--/spacer in container--> <tr> <td class="footer"> <table align="left" cellspacing="0" cellpadding="0" border="0" style="font-family: Helvetica, Arial, sans-serif; line-height:2 !important; font-size: 13px; width:40%;"> <tr> <td style="mso-border-bottom-alt:10px solid #ffffff;"><a style="text-decoration: underline !important; line-height:2 !important; color: #737576 !important;" href="https://suite16.emarsys.net/u/un.php?par=EBEZqin6Bq_2955850_1282598_1" target="_blank">Отписаться от рассылки</a></td> </tr> <tr> <td style="mso-border-bottom-alt:10px solid #ffffff;"><a style="text-decoration: underline !important; line-height:2 !important; color: #737576 !important;" href="https://suite16.emarsys.net/u/nrd.php?p=EBEZqin6Bq_1282598_2955850_1_2&ems_l=3347526">Политика конфиденциальности</a></td> </tr> <tr> <td style="mso-border-bottom-alt:10px solid #ffffff;"><a style="text-decoration: underline !important; line-height:2 !important; color: #737576 !important;" href="https://suite16.emarsys.net/u/gm.php?prm=EBEZqin6Bq_766301119_2955850_1282598_TRANSACTIONAL" target="_blank">Веб-версия письма</a></td> </tr> </table> <table class="right-side" align="right" cellspacing="0" cellpadding="0" border="0" style="font-family: Helvetica, Arial, sans-serif; font-size: 13px; width:52%;"> <tr> <td><p style="Margin:0; margin:0; text-align:right; line-height:2.2; color: #737576 !important;">© 2020, ПАО «Авиакомпания «ЮТэйр»</p></td> </tr> </table> </td> </tr> </table> </td> </tr> </table> <!--/Utair footer --> </center> </td> </tr> </table> <!-- prevent Gmail on iOS font size manipulation --> <div style="display:none; white-space:nowrap; font:15px courier; line-height:0;"> </div> <img src="https://suite16.emarsys.net/mo/EBEZqin6Bq_766301119_2955850_1282598_3347526.gif" height="2" width="2" border="0" alt=""></body> </html>