MCPcopy Create free account
hub / github.com/omkarcloud/botasaurus / extract_emails

Function extract_emails

botasaurus/cl.py:188–193  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

186
187
188def extract_emails(s):
189 import re
190 if isinstance(s, str):
191 email_regex = r"\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b"
192 return re.findall(email_regex, s)
193 return []
194
195
196def extract_otps(s):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected