How can I extract email address from a big string by regex

Let’s say I have a big string what I fetched from a URL like this,

const axios = require('axios');

const pattern = /regex for email/;
const htmlContent = axios('').then(res => ).then(data => {

This should return an email address if that page have one
so I need a pattern basically

@mizanmahi hey,

check this out should be what your looking for.

1 Like