Extraction: A Match Is Not a Fact

Open Tool Info Extractor

Patterns find, understanding does not

Extraction pulls out spans matching a format: emails, URLs, phone numbers, dates, identity numbers. It works by pattern matching, taking any string that fits and without judging whether the number exists or the date makes sense. So output is a candidate list needing verification. The tool extracts by type, can take all types at once, shows the matches and copies them. It speeds up triage on logs, contracts and support records.

Steps

  1. Paste the text, whole documents included.
  2. Pick all types, or email, URL, phone, date or identity number.
  3. Run it and note how many hits came back and where.
  4. Check each type, especially purely numeric ones.
  5. Copy all results and structure them line by line if needed.
  6. Clear for the next pass.

Boundaries, adjacency, formats

Numeric types misfire most: an eighteen-digit code may contain eleven consecutive digits that match a phone pattern while being no phone at all, so boundaries matter and neighbours must not be digits. URLs attract trailing commas, full stops and brackets that must come off or the link fails. Dates come as slashes, hyphens, dots and Chinese year-month-day forms, and one pattern misses many. Identity numbers carry check digits that extractors usually skip, so verify separately. Chinese lacks spaces, letting patterns match across words and yield fragments needing review. Repeats appear repeatedly and need deduplication.

Common mistakes

Phone numbers sliced from long digit runs without boundaries. URLs keeping trailing punctuation. Only one date format recognised. Identity numbers unverified, so fakes pile up. Cross-word Chinese matches leaving fragments. And repeats listed many times.

Where extraction must not conclude

A match never proves a number or document is valid. Personal data extraction happens under compliance rules, with output handled as sensitive and never forwarded casually. Structured documents need parsing, not patterns. Tables and multi-column layouts lose column relationships. And importing extracted values as authoritative database rows requires verification and deduplication first.

⏫︎