13 repository-uri
Utilities that use regular expressions to validate string formats.
Distinct from Rule-Based Pattern Matching: None of the candidates cover general string format validation via regex; most are for specific domain names or routing.
Explore 13 awesome GitHub repositories matching software engineering & architecture · Regex Pattern Validators. Refine with filters or upvote what's useful.
is.js is a JavaScript validation library and data type checker. It provides a suite of utilities to verify whether variables are primitives, arrays, functions, or specific object types. The project allows for the implementation of custom validation logic and the use of naming namespaces to override default rules and regular expressions. It covers a broad range of validation capabilities, including numeric arithmetic properties, date and time analysis for relative and absolute ranges, and string format verification for patterns such as emails, URLs, and IP addresses. The library also includes
Validates strings against predefined regular expression patterns to identify emails, URLs, and other specific formats.
Valibot is a modular, type-safe schema library for validating and parsing structural data in TypeScript environments.
Provides the ability to validate strings against custom regular expression patterns.
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, U
Ships over 70 ready-to-use regex validators for common data formats like emails, URLs, and phone numbers.
This project is a semantic versioning parser, validator, and precedence engine. It provides tools for parsing, comparing, and verifying version strings that follow the Semantic Versioning specification. The system implements a logic engine for determining the relative priority of software releases. It handles the nuances of the specification, including pre-release versioning to mark unstable releases and the attachment of build metadata that is ignored during precedence comparisons. The toolkit covers version numbering standardization and API stability management. This includes logic for ver
Uses a comprehensive regular expression to validate that version strings strictly follow the semantic versioning specification.
This PHP assertion library is a runtime data validator used to verify method inputs and outputs. It provides a toolkit for validating data types, numeric ranges, and string patterns during program execution to prevent invalid states. The project serves as a static analysis helper by providing type hints and annotations that improve the accuracy of formal verification tools. It includes a collection validation utility for applying rules across arrays or iterable collections, and a filesystem validation tool to verify path existence and read or write permissions. The library covers a broad ran
Provides utilities that use regular expressions to validate string formats such as emails and UUIDs.
This project is a collection of educational resources and structured curricula designed for learning JavaScript. It provides a programming course, a coding bootcamp, and a web development tutorial to guide learners from basic syntax to advanced programming patterns. The materials cover frontend development, including the creation of dynamic user interfaces and the management of remote data via HTTP requests. The curriculum includes instructional guides on using JavaScript to interact with web services and manipulate browser elements. The scope of the project extends to asynchronous API integ
Teaches the use of regular expressions to validate string formats and text data.
Masuit.Tools is a comprehensive static utility library for .NET and ASP.NET Core development. It provides a broad collection of reusable helper methods and infrastructure components that cover common programming tasks without requiring dependency injection or instance management. The library is organized as flat utility classes, making its functionality directly accessible from anywhere in a project. The toolkit distinguishes itself through a wide range of integrated capabilities that go beyond typical utility libraries. It includes a multithreaded range-request file downloader with pause and
Ships validators for common data formats including email, phone, URL, IP, and Chinese ID card numbers.
Common.Utility este o bibliotecă de utilitare de uz general care oferă o colecție de clase helper pentru sarcini comune de programare. Funcționează ca un framework de securitate a datelor, un wrapper de acces la baza de date și o suită de instrumente pentru administrarea sistemului și comunicarea în rețea. Biblioteca include o suită de procesare multimedia pentru generarea de coduri de bare și coduri QR, editarea imaginilor și conversia formatelor video. Oferă, de asemenea, un toolkit de comunicare în rețea pentru gestionarea cererilor HTTP și a transferurilor FTP, precum și integrarea cu servicii de e-mail și notificare. Proiectul acoperă un set larg de capabilități, inclusiv I/O de fișiere, manipularea șirurilor și conversia datelor. Oferă utilitare pentru programarea sarcinilor în fundal prin thread pool-uri, gestionarea operațiunilor bazei de date cu detectarea injecțiilor și instrumente de administrare a sistemului pentru executarea comenzilor shell și gestionarea setărilor de registry.
Uses regular expression patterns to clean text and validate user input.
This is a regular expression library designed for the validation and identification of mobile phone numbers from mainland China. It provides the structural rules and digit constraints necessary to verify that phone numbers follow the correct regional format. The library includes specific patterns to determine the telecommunications provider based on regional prefixes. It also features filters to distinguish between standard voice numbers and IoT or data-only plans. The project covers broad data validation capabilities, including input format verification and carrier identification.
Uses pre-defined regular expression patterns to ensure phone numbers meet strict length and digit constraints.
js-base64 este o bibliotecă JavaScript pentru codificarea și decodificarea datelor între formatul Base64 și șiruri de caractere sau matrice de octeți JavaScript. Oferă utilitare pentru conversia datelor binare în șiruri Base64 și transformarea acelor șiruri înapoi în textul lor original sau în formatul brut de octeți. Proiectul include un validator de șiruri Base64 pentru a verifica dacă o secvență respectă formatarea, caracterele și padding-ul corect. De asemenea, suportă crearea de șiruri Base64 sigure pentru URI prin înlocuirea caracterelor care ar cauza erori de codificare în URI-uri și permite eliminarea padding-ului. Biblioteca oferă un utilitar de extensie a prototipului care adaugă metode de codificare și decodificare direct la obiectele standard de tip șir și matrice din JavaScript.
Uses regular expressions to verify that strings adhere to standard and URI-safe Base64 formats.
Aceasta este o bibliotecă de sanitizare HTML concepută pentru a elimina tag-urile și atributele periculoase din HTML-ul trimis de utilizatori pentru a preveni atacurile de tip cross-site scripting (XSS). Funcționează ca un filtru de conținut care pune pe whitelist elemente și atribute specifice, în timp ce face escape sau elimină marcajul neautorizat. Proiectul include un motor de transformare HTML care permite modificarea sau înlocuirea tag-urilor și atributelor folosind logică personalizată. De asemenea, dispune de un validator de stil CSS pentru a curăța proprietățile inline în raport cu tiparele permise și un sistem pentru validarea URL-urilor resurselor pentru a restricționa hostname-urile și schemele. Biblioteca oferă capabilități pentru sanitizarea input-ului utilizatorului, validarea CSS inline și transformarea HTML dinamică. Aceste funcții sunt implementate printr-un parser care suportă filtrarea tag-urilor și definirea elementelor permise.
Uses regular expressions to validate attributes and CSS properties, preventing malicious code injection.
bluemonday is a Go library for scrubbing user-generated HTML content to prevent cross-site scripting and other injection attacks. It functions as an HTML policy engine and sanitizer that removes dangerous scripts and malicious tags by applying configurable element and attribute allowlists. The project distinguishes itself through a rule-based system that utilizes regular expressions and name-based lists to define permitted tags, attributes, and CSS styles. It includes a URL security validator that enforces safe protocols and automatically injects security attributes such as nofollow and noope
Automatically appends security attributes like nofollow and noopener to outbound hyperlinks.
AntiZhaPian is a social engineering framework and fraud simulation application. It generates fake security center dashboards and anti-fraud interfaces designed to deceive users into believing that official security software is installed. The project functions as a simulation tool that mimics the visual appearance and behavior of anti-fraud applications. It uses template-based rendering and state-driven UI simulation to create synthetic dashboards with dynamic dates and fake status indicators. The application includes a user profile management interface for viewing and updating personal accou
Employs predefined regular expression patterns to validate the format of identification numbers.