Extract Guide
This guide explains how to use HeronTool's extract tools to grab emails, URLs, phones, and more from text. Simple three steps: paste text, select tool, one-click extract.
Step 1: Prepare Text
Copy the target text (e.g., webpage source, email content, or log file). If it's HTML, use HTML to Text tool first to convert to plain text, avoiding tag interference.
Step 2: Choose Extract Tool
Based on data type, pick the corresponding tool in HeronTool:
- Extract Emails: Auto-detect all email addresses.
- Extract URLs: Extract all links, while Link Extractor provides a list with anchor text.
- Extract Phones: Match common phone formats (supports international codes).
- Regex Extract: Advanced users can define custom regex to extract any pattern.
Step 3: Execute and Export
Paste text, click “Extract”, results appear instantly. Copy results or export as CSV. For batch files, use Regex Extract and save rules for reuse.
FAQ
Q: Duplicate entries in results?
A: Emails/URLs/Phones tools deduplicate by default; disable the option in settings if you need duplicates.
Q: Regex Extract not working?
A: Check your regex pattern and ensure “Extract content” is set correctly (matched text or capture groups). Test with a simple pattern first.
Q: Large files processing slow?
A: Use HTML to Text to compress content, or split the file. HeronTool is optimized but huge texts may take time.