# madisonmay/CommonRegex

A collection of common regular expressions bundled with an easy to use interface.

Repository: https://github.com/madisonmay/CommonRegex
Canonical: https://ross.abutalabs.com/products/commonregex
Language: Python
License: MIT
License Family: permissive
Last push: 2023-04-20T18:31:08+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4642, "days_push": 1231, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1583, forks 138 (observed 2026-08-28T04:05:07.174794+00:00)

## What it is
A Python library bundling common regular expressions for extracting entities like dates, times, emails, phone numbers, links, IP addresses, prices, and credit card numbers from text. It exposes a simple interface plus the underlying regex patterns for direct use.

## Use cases
- extract emails and phone numbers from text
- find dates and times in a string
- detect credit card numbers in user input
- pull links and IP addresses from logs
- redact PII like SSNs and emails from documents
- parse street addresses and zip codes from free text

## When to choose
- you need quick, dependency-free extraction of common entities from English/US text
- you want reusable regex patterns without writing them yourself

## When to avoid
- you need multilingual or non-US format support
- you need high-accuracy NER rather than regex matching
- you need actively maintained extraction with frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, nlp, developer-tools
- domain: developer-tools, text-editors
- platform: python, cross-platform
- tags: regex, text-extraction, entity-extraction, pii-detection, natural-language-processing

## Member repositories
- madisonmay/CommonRegex (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:07.174794+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:56:01.207928+00:00, confidence not recorded.
  - readme: https://github.com/madisonmay/CommonRegex (fetched 2026-08-28T04:05:07.174794+00:00, sha ab319d6ed8b8)
  - registry_pypi: https://pypi.org/pypi/commonregex/json (fetched 2026-08-29T11:26:36.483166+00:00, sha 5ace432d32cd)
- Data as of 2026-08-30T08:39:29.467469+00:00.
