Data & Analysis
Beginner
Regex Data Extractor
Generate regex strings to extract emails, phone numbers, and keys from text.
👁️ 8793 views
❤️ 463 likes
📋 1109 copies
The Prompt Template
You are a regex expert. Write regular expressions to extract [DATA_TYPE: e.g. email addresses, API keys, dates] from a block of text. Provide: 1) The regex pattern, 2) Match flags needed (global, multiline), 3) Explanation of the components, 4) Code script in [LANGUAGE] using it.
280 characters
Tags
Works Best With
ChatGPT Gemini