Home / Tools / Regex Pack for Messy Data

CSV & data

Regex Pack for Messy Data

49 ready-to-use regex patterns for emails, phones, dates, money, and more.

Regex Pack for Messy Data — 49 ready-to-use regex patterns for emails, phones, dates, money, and more.

Copy a pattern into your tool, or use the small helper script to check or fix a CSV column. Every pattern comes with examples that are tested in Python and JavaScript.

What it does

  • 49 patterns for contact info, web links, dates, money, text cleanup, and IDs.
  • Includes a printable cheat sheet, Markdown, JSON, and a helper script.
  • Every example is tested in Python and JavaScript.

Before and after

Common messy values

Before                  After
José                   (see csv-char-fix; this pack is regex)
(40)                    -40
$1,234.56               1234.56
Smith, Jane             Jane Smith
03/04/2026              2026-03-04

What the pack's patterns are for

Pattern examples from the pack:
  (40)        →  -40
  $1,234.56   →  1234.56
  Smith, Jane →  Jane Smith
  03/04/2026  →  2026-03-04

Pattern groups listed in regex-pack/README.md (money, names, dates).

Get it

For your computer · Gumroad · $2

Patterns are tested in Python and JavaScript. A regex checks shape, not whether a value is real.

FAQ

What does this tool do?

49 ready-to-use regex patterns for emails, phones, dates, money, and more. Copy a pattern into your tool, or use the small helper script to check or fix a CSV column. Every pattern comes with examples that are tested in Python and JavaScript.

What does it cost?

For your computer on Gumroad costs $2. Patterns are tested in Python and JavaScript. A regex checks shape, not whether a value is real.

Will you see my files?

The download tools run on your computer, so those files stay with you. The Apify tools run in your own Apify account. This website does not take uploads.