Extract Phone Numbers

Extract Phone Numbers

Flexible extraction • Regex support • Country-aware

Email Extractor can also collect phone numbers from pages and files. Two extraction methods are available:

  • Built-in Algorithm — detects phone numbers using country-specific patterns and formatting rules.
  • Regular Expressions — lets advanced users provide custom regex patterns to match any phone format.
Extract Phone Numbers

Enable Phone Extraction

  1. Open Settings → Extract.
  2. Check the Phone option to enable phone extraction.
  3. Select your target country from the Country drop-down (this activates country-specific parsing).
  4. Run your search or scan — phone numbers found will appear in the Results pane along with email addresses.

Regular Expression (Advanced)

If you need full control, enable By Regular Expression in the Search Regular Expressions panel and enter a custom pattern in the Phone field.

Example patterns:

  • \(\d{3}\)\s?\d{3}[-.\s]?\d{4} — typical US format: (123) 456-7890
  • \+?\d{1,3}[-.\s]?\(?\d{1,4}\)?[-.\s]?\d{3,4}[-.\s]?\d{3,4} — generic international pattern (covers many cases)
  • \b\d{10}\b — simple 10-digit numbers (no separators)

Tip: wrap patterns with \\b (word boundary) where appropriate to reduce false matches.

Best Practices

  • Prefer country-specific built-in rules for most accurate results (they understand local dialing formats).
  • Use custom regex when you expect unusual formats or when scanning documents with consistent formatting.
  • Combine phone extraction with duplicate removal and normalization (strip non-digit characters) before exporting.
  • When exporting, include the Source URL / file path so you can verify numbers later.

Normalization & Export

After extraction, normalize numbers (optional) to a single format — e.g. +1XXXXXXXXXX — to simplify imports and dialing. Use the Save wizard to export phone numbers along with other fields into .csv or .xlsx.

Troubleshooting

  • If many false positives appear, tighten the regex or switch to the country-specific parser.
  • For scanned documents (images or non-searchable PDFs) phone extraction will fail — OCR is required first.
  • If numbers are split across HTML nodes, enable Improved Page Loading or use Manual Mode to capture rendered content.

Privacy & Legal

Phone numbers are personal data in many jurisdictions. Collect and use them responsibly — comply with GDPR, TCPA, CAN-SPAM and local regulations. Extraction occurs locally; exporting or using numbers for marketing is your responsibility.


Need help with phone extraction?