awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
any86 avatar

any86/any-rule

0
View on GitHub↗
8,662 stars·811 forks·TypeScript·MIT·12 viewsany-rule.vercel.app↗

Any Rule

Any-rule is a multi-platform regular expression tool that provides a curated catalog of over 70 ready-to-use patterns for validating and extracting common data formats. The project separates its static regex collection from editor-specific plugins, allowing the same pattern library to be accessed through VS Code, IntelliJ IDEA, Alfred Workflow, and a web interface.

The tool enables keyword-based pattern retrieval, letting users search for the correct regex by typing descriptive terms rather than remembering exact syntax. It covers a broad range of validation needs including email addresses, URLs, dates, IP addresses, phone numbers, and identification numbers, with particular depth in Chinese-specific formats such as ID card numbers, license plates, social credit codes, and stock codes. Beyond validation, the library also supports data extraction tasks like matching Chinese characters, HTML tags, and HTML comments from text.

Each pattern is defined as a static string literal, and the tool includes a visual diagram feature that helps users understand how a selected regex works. The documentation and installation surface covers the web interface, VS Code extension, IntelliJ plugin, and Alfred workflow, all drawing from the same underlying pattern catalog.

Features

  • Multi-Platform Pattern Libraries - Offers the same regex pattern library through web, VS Code, IntelliJ, and Alfred Workflow integrations.
  • Regex Pattern Catalogs - Stores over 70 curated regular expressions as a searchable key-value dictionary for validation and extraction.
  • Chinese Identification Validators - Ships validators for Chinese ID numbers, license plates, social credit codes, and other national formats.
  • Regex Pattern Searches - Enables searching for regex patterns by keyword directly within VS Code and IntelliJ IDEA.
  • Pattern Search Tools - Enables keyword-based search for regex patterns directly inside VS Code and IntelliJ IDEA.
  • Regex Tooling - Provides a curated catalog of over 70 ready-to-use regular expression patterns for common data formats.
  • Keyword Matching - Ships keyword-based pattern retrieval that matches user-supplied terms against pattern names and descriptions.
  • Regex Pattern Inserters - Provides VS Code and IntelliJ extensions for searching and inserting regex patterns without leaving the editor.
  • Email Address Validators - Provides a regex pattern to validate email address format.
  • IP Address Validation - Provides a regex pattern to validate IPv4 and IPv6 address format with optional port.
  • Format Validators - Provides over 70 ready-to-use regular expressions for validating common data formats like emails and phone numbers.
  • Multi-Platform - Exposes the same regex catalog through VS Code, IntelliJ, and Alfred plugins with platform-specific UIs.
  • Common Format Validators - Ships over 70 ready-to-use regex validators for common data formats like emails, URLs, and phone numbers.
  • Editor-Agnostic Data Layers - Provides an architecture that separates the regex catalog from editor-specific plugins for cross-platform reuse.
  • String Format Validators - Provides over 70 ready-to-use regex patterns for validating common data formats like emails, URLs, and dates.
  • Working Hour Calculators - Provides a regex pattern that validates strings against the HH:mm:ss 24-hour clock format.
  • Chinese ID Card Number Validators - Provides a regex pattern that verifies a string matches the 15- or 18-digit Chinese citizen identification number format.
  • License Plate Number Validators - Checks whether a string matches the format of a Chinese vehicle license plate, including new energy types.
  • IMEI Validators - Ships a regex pattern to validate IMEI number format.
  • Decimal Number Validators - Ships a regex pattern to validate decimal number strings.
  • Chinese Province Validators - Provides a regex pattern to validate Chinese province, municipality, and special administrative region names.
  • Chinese Stock Code Validators - Ships a regex pattern to validate Chinese A-share stock code formats for Shanghai and Shenzhen exchanges.
  • Chinese Text Matchers - Provides a regex pattern that matches Chinese characters together with Chinese punctuation marks.
  • Chinese Character Matchers - Provides a regex pattern that matches every individual Chinese character inside a text string.
  • Chinese Name Validators - Provides a regex pattern that checks whether a string consists of 2 to 16 Chinese characters forming a valid Chinese name.
  • English Name Validators - Verifies that a string consists of letters and spaces that form a valid English name.
  • HTML Tag Matchers - Provides a regex pattern that finds every HTML tag embedded inside a text string.
  • HTML Comment Matchers - Provides a regex pattern that finds every HTML comment block embedded inside a text string.
  • Visualizers - Includes a visual diagram feature that renders regex patterns to illustrate their matching logic.
  • Image URL Validators - Includes a regex pattern to validate image file URLs.
  • Chinese Landline Number Validators - Provides a regex pattern that checks whether a string matches the format of a Chinese landline phone number including its area code.
  • Chinese Phone Number Validators - Provides a regex pattern that verifies a string matches the format of a Chinese mobile phone number at a chosen strictness level.
  • Linux File Path Validators - Ships a regex pattern to validate Linux file path format.
  • Linux Folder Path Validators - Includes a regex pattern to validate Linux folder path format.
  • Bank Card Number Validators - Provides a regex pattern that verifies a string contains only digits and is between 10 and 30 characters long.
  • MD5 Hash Validators - Provides a regex pattern to validate MD5 hash format.
  • Base64 Input Validators - Provides a regex pattern that verifies a string is a valid base64-encoded data URI.
  • Regex Visualizers - Open a visual diagram of any regex pattern to understand its structure and behavior.
  • Date Validation - Provides a regex pattern to validate date strings with optional leap year checking.
  • Time Format Validators - Provides a regex pattern that validates strings against the hh:mm:ss 12-hour clock format.
  • UUID Validation - Provides a regex pattern to validate GUID or UUID format.
  • Color Format Validators - Provides a regex pattern to validate hex color code format.
  • Static Pattern Definitions - Defines every regex as a hardcoded string literal rather than generating patterns at runtime.
  • Alphabetic String Validators - Provides a regex pattern that checks whether a string contains only English letters.
  • Alphanumeric String Validators - Provides a regex pattern that verifies a string contains only letters and numbers.
  • Currency Amount Validators - Checks whether a string is a valid monetary amount that may include a negative sign and thousands separators.
  • Developer Utilities - Comprehensive library of regular expressions.
  • Regular Expressions - Comprehensive library of common regular expression patterns.

Star history

Star history chart for any86/any-ruleStar history chart for any86/any-rule

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does any86/any-rule do?

Any-rule is a multi-platform regular expression tool that provides a curated catalog of over 70 ready-to-use patterns for validating and extracting common data formats. The project separates its static regex collection from editor-specific plugins, allowing the same pattern library to be accessed through VS Code, IntelliJ IDEA, Alfred Workflow, and a web interface.

What are the main features of any86/any-rule?

The main features of any86/any-rule are: Multi-Platform Pattern Libraries, Regex Pattern Catalogs, Chinese Identification Validators, Regex Pattern Searches, Pattern Search Tools, Regex Tooling, Keyword Matching, Regex Pattern Inserters.

Which projects share features with any86/any-rule?

Projects with overlapping indexed features include: asaskevich/govalidator — [Go] Package of validators and sanitizers for strings, numerics, slices and structs. open-circle/valibot — Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments. geongeorge/i-hate-regex — i-hate-regex is a suite of interactive utilities for constructing, validating, configuring, and visualizing regular… cjex/regulex — Regulex is a tool that parses regular expressions into interactive syntax diagrams, rendering them directly on an HTML… vincentsit/chinamobilephonenumberregex — This is a regular expression library designed for the validation and identification of mobile phone numbers from… mailcheck/mailcheck — Mailcheck is an email domain suggestion library and validation utility designed to identify misspelled email…

Projects sharing features with Any Rule

These projects share indexed features with Any Rule. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • asaskevich/govalidatorasaskevich avatar

    asaskevich/govalidator

    6,203View on GitHub↗

    Go Package of validators and sanitizers for strings, numerics, slices and structs

    Gogogovalidatorsanitization
    View on GitHub↗6,203
  • open-circle/valibotopen-circle avatar

    open-circle/valibot

    8,769View on GitHub↗

    Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.

    TypeScriptbundle-sizemodularparsing
    View on GitHub↗8,769
  • cjex/regulexCJex avatar

    CJex/regulex

    5,836View on GitHub↗

    Regulex is a tool that parses regular expressions into interactive syntax diagrams, rendering them directly on an HTML canvas. It converts a regex string into an abstract syntax tree and visualizes the structure as a navigable diagram, making the internal logic of a regular expression visually accessible. Beyond basic visualization, Regulex provides syntax validation that detects and reports precise errors, including invalid back references and octal escapes. It also offers a state-machine visualization mode that maps regex AST nodes to NFA-like states and transitions, rendered as a directed

    TypeScriptdiagramjavascriptregex
    View on GitHub↗5,836
  • geongeorge/i-hate-regexgeongeorge avatar

    geongeorge/i-hate-regex

    4,562View on GitHub↗

    i-hate-regex is a suite of interactive utilities for constructing, validating, configuring, and visualizing regular expressions. It provides a specialized environment for regular expression construction and debugging, allowing users to build complex patterns and verify matching behavior through interactive testing. The project features a regular expression generator with a real-time matching preview and a visual representation tool that displays the logical structure of a pattern. It also includes a curated library of standardized patterns for common data formats, including email addresses, I

    Vuenuxtregextailwindcss
    View on GitHub↗4,562
Compare all 30 related projects→