BASH_SRV Telegram 150
📌 Регулярки - ищем email-адреса в тексте

Если необходимо быстро вытащить email-адреса из логов или текстов, скрипт ниже для вас.


grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}'


Примеры использования:

cat файл.txt | grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}'


Оно находит валидные email'ы вроде:
- [email protected]
- [email protected]

⚙️ Флаг -o в grep выводит только совпадения, без строк целиком.

👉@bash_srv
👍103



tgoop.com/bash_srv/150
Create:
Last Update:

📌 Регулярки - ищем email-адреса в тексте

Если необходимо быстро вытащить email-адреса из логов или текстов, скрипт ниже для вас.


grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}'


Примеры использования:

cat файл.txt | grep -Eo '[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}'


Оно находит валидные email'ы вроде:
- [email protected]
- [email protected]

⚙️ Флаг -o в grep выводит только совпадения, без строк целиком.

👉@bash_srv

BY Bash Советы




Share with your friend now:
tgoop.com/bash_srv/150

View MORE
Open in Telegram


Telegram News

Date: |

The Channel name and bio must be no more than 255 characters long best-secure-messaging-apps-shutterstock-1892950018.jpg “[The defendant] could not shift his criminal liability,” Hui said. The creator of the channel becomes its administrator by default. If you need help managing your channel, you can add more administrators from your subscriber base. You can provide each admin with limited or full rights to manage the channel. For example, you can allow an administrator to publish and edit content while withholding the right to add new subscribers. The SUCK Channel on Telegram, with a message saying some content has been removed by the police. Photo: Telegram screenshot.
from us


Telegram Bash Советы
FROM American