Regular expression
A regular expression (shortened as regex or regexp), sometimes referred to as rational expression, is a sequence of characters that specifies a match pattern in text. Usually such patterns are used by string-searching algorithms for “find” or “find and replace” operations on strings, or for input validation.
Regular expression techniques are developed in theoretical computer science and formal language theory. They are used in search engines, in search and replace dialogs of word processors and text editors, in text processing utilities such as sed and AWK, and in lexical analysis. Regular expressions are also supported in many programming languages.
Different syntaxes for writing regular expressions have existed since the 1980s, one being the POSIX standard and another, widely used, being the Perl syntax.
- GitHub: https://github.com/topics/regular-expression
- Wikipedia: https://en.wikipedia.org/wiki/Regular_expression
- Created by: Stephen Cole Kleene
- Released: 1950
- Related Topics: pattern-matching, wildcard, glob, grep, awk, sed,
- Aliases: regex, regexp, regular-expressions,
- Last updated: 2026-06-11 00:26:10 UTC
- JSON Representation
https://github.com/haath/commander.net
C# command-line argument parsing library, supporting deserialization, commands and help text generation.
argument-parsing cli nuget positional-parameters regular-expression serialization
Last synced: 10 Sep 2025
https://github.com/regexhq/es6-template-regex
Regular expression for matching es6 template delimiters in a string.
es2015 es6 match parse regex regular-expression syntax template
Last synced: 10 Jul 2025
https://github.com/mmirus/gravityforms-regex-validation
A WordPress plugin that adds regular expression validation options to Gravity Forms' single line text input.
gravity-forms gravityforms regex regular-expression validation wordpress-plugin
Last synced: 13 Oct 2025
https://github.com/jonschlinkert/line-number
Get the line number for each regex match found in a string.
index javascript jonschlinkert line match matches number regex regex-match regular-expression split string util
Last synced: 07 May 2025
https://github.com/doganulus/montre
The original timed regular expression matcher over temporal behaviors
pattern-matching regex-engine regular-expression timed
Last synced: 05 Apr 2025
https://github.com/ceedubs/irrec
composable regular expressions based on Kleene algebras and recursion schemes
kleene-algebras recursion-schemes regular-expression scalacheck
Last synced: 09 Apr 2025
https://github.com/EszopiCoder/excel-regexp-fx
Regular Expression Functions Excel Add-In
excel excel-vba regular-expression vba vba-excel
Last synced: 30 Jul 2025
https://github.com/cheatsnake/regex-by-example
🔍 Learn main features of regular expressions by examples (ENG/RUS)
cheatsheet example-code learn-by-examples regex regular-expression
Last synced: 21 Jan 2026
https://github.com/ehmicky/wild-wild-parser
🤠 Parser for object property paths with wildcards and regexps 🌵
algorithm data-structures filter functional-programming glob globbing globstar javascript json library map nodejs parsing path recursion regex regexp regular-expression typescript wildcard
Last synced: 02 Aug 2025
https://github.com/samuel-oldra/bionet
🎓 BioNet / TCC / Sistemas de Informação
genes genetic-diseases nusoap php protein regular-expression tcc
Last synced: 21 Mar 2025
https://github.com/jonschlinkert/author-regex
Regular expression for parsing an `author` string into an object following npm conventions.
contributor maintainer parsing person regex regular-expression somebody
Last synced: 06 May 2025
https://github.com/regexhq/gfm-code-block-regex
RegExp for gfm (GitHub Flavored Markdown) code blocks.
gfm github-flavored-markdown markdown regex regular-expression
Last synced: 11 Jan 2026
https://github.com/ogulcan/SwiftRegEx
A playground to learn regular expressions with Swift
regex regular-expression swift swift-3
Last synced: 13 May 2025
https://github.com/sandialabs/parsegen-cpp
A C++17 library for parser generation for LALR(1) languages
cmake context-free-grammar cpp cpp17 lalr-parser-generator parse parser parser-generator parser-library regular-expression sandia-national-laboratories scr-2564 snl-comp-science-libs
Last synced: 21 Oct 2025
https://github.com/ogulcan/swiftregex
A playground to learn regular expressions with Swift
regex regular-expression swift swift-3
Last synced: 23 Jan 2026
https://github.com/hacdias/zipcodes-regex
A list of regular expressions for zipcodes
nodejs npm package regular-expression zipcode zipcodes-regex
Last synced: 09 Jul 2025
https://github.com/sachinkalsi/whatsapp-chat-analyser
WhatsApp Chat Analyser | Made with ❤
analytics chat data-visualization eda exploratory-data-analysis fun-facts ipython-notebook python3 regular-expression statistics whatsapp whatsapp-chat whatsapp-group
Last synced: 06 Mar 2026
https://github.com/jangorman/jgoregexpbuilder
A delightful regular expressions DSL
dsl ios objective-c regex regular-expression
Last synced: 21 Apr 2025
https://github.com/j-ulrich/release-it-regex-bumper
Regular expression based version read/write plugin for release-it
bumper regular-expression release-it release-it-plugin
Last synced: 21 Jan 2026
https://github.com/bwrrp/xspattern.js
XML Schema pattern (regular expression) engine
regex regular-expression xml-schema xml-validation xsd-pattern
Last synced: 13 Apr 2025
https://github.com/jonschlinkert/requires-regex
Regular expressions for matching node.js require statements.
javascript nodejs regex regexp regular-expression require requires
Last synced: 07 May 2025
https://github.com/jaeyk/tidyethnicnews
R package for turning Ethnic NewsWatch search results into tidyverse-ready dataframes
html natural-language-processing parsing regular-expression tidy
Last synced: 07 May 2025
https://github.com/eneko/regex
Easy regular expression data extraction in Swift
capture-groups groups iterator regex regular-expression replacement swift
Last synced: 29 Sep 2025
https://github.com/wader/libfa
C automata library to build, determinize, minimize, translate regexp etc
automata c pcre regular-expression
Last synced: 11 Apr 2025
https://github.com/amanchadha/regex-cheatsheet
RegEx Cheatsheet | Authored by Yours Truly
data-mining patter-matching pattern pattern-recognition regex regexp regular-expression regular-expression-engine regular-expressions search searching-datasets string-matching string-search
Last synced: 22 Jan 2026
https://github.com/lovasoa/wordsearch
Search words by regex
dictionaries poetry regex regular-expression search svelte wordsearch
Last synced: 13 Aug 2025
https://github.com/regexhq/copyright-regex
Regular expression for matching and parsing copyright statements.
copyright parsing regex regular-expression
Last synced: 10 Jul 2025
https://github.com/jribbens/verbose-regexp
Verbose Regular Expressions
javascript regex regexp regular-expression
Last synced: 17 Jul 2025
https://github.com/m-taghizadeh/python-full-course
Full Python Programming Tutorials with Focus on artificial intelligence and machine learning
artificial-intelligence bayes-classifier convolutional-neural-networks deep-learning graphical-user-interface knn-classification machine-learning mysql oop opencv pyqt5 python regex regression-models regular-expression scikitlearn-machine-learning scrapy selenium sql vgg16-model
Last synced: 11 May 2025
https://github.com/julianthome/autorex
A dk.brics FSM to regular-expression-string converter
automaton regular-expression state-elimination transformations translation
Last synced: 16 Jan 2026
https://github.com/regexhq/dotfile-regex
Regular expresson for matching dotfiles.
dotfile file filepath match path regex regular-expression test
Last synced: 02 Jul 2025
https://github.com/cloudify-cosmo/repex
sed on steroids
python regex regular-expression replace sed
Last synced: 09 Apr 2026
https://github.com/regexhq/punctuation-regex
Regular expression for matching punctuation characters.
punctuation punctuation-character regex regular-expression
Last synced: 10 Jul 2025
https://github.com/regexhq/whitespace-regex
Regular expression for matching the whitespace in a string.
regex regular-expression whitespace
Last synced: 10 Jul 2025
https://github.com/r3c/mure
MUlti-valued Regular Expressions
csharp regular-expression regular-expressions
Last synced: 28 Jan 2026
https://github.com/stryker-mutator/weapon-regex
Mutating your regular expressions! For Scala and JS.
hacktoberfest javascript regular-expression scala scalajs testing-framework testing-tool typescript
Last synced: 20 Aug 2025
https://github.com/imelgrat/feed-finder
A PHP class for extracting the URLs of RSS (1.0 and 2.0) and ATOM feeds associated to a page, as well as OPML outline documents.
atom atom-feed composer-package html-parser html-scraper opml opml-outline php regex regular-expression rss rss-feed rss-feed-scraper
Last synced: 16 May 2025
https://github.com/markwhitaker/regextoolbox.net
Regular expression tools for .NET developers
pattern-matching regex regexes regexp regular-expression regular-expressions
Last synced: 13 Apr 2025
https://github.com/tiaanduplessis/valid-south-african-id
🇿🇦 Perform regex and checksum match to check if given number string is a valid South African ID
checksum id regex regular-expression south-africa
Last synced: 08 Aug 2025
https://github.com/jship/s3k
Do more with stack by typing less!
alias build-tool haskell regex regular-expression stack
Last synced: 25 May 2026
https://github.com/ifr0z/searchplacebox
Search place with regular expression for matching coordinates
android kotlin matching-coordinates regular-expression searchplace
Last synced: 14 Aug 2025
https://github.com/meniny/colaexpression
💻A regular expression framework written in Swift.
regex regular-expression swift
Last synced: 09 Apr 2025
https://github.com/maswag/monaa
A Tool for Timed Patten Matching with Automata-Based Acceleration
automata data-streaming formal-specification monitoring monitoring-tool regular-expression runtime-verification
Last synced: 18 Jul 2025
https://github.com/es-shims/regexp.prototype.flags
ES6 spec-compliant RegExp.prototype.flags shim
ecmascript flags javascript polyfill regex regexp regular-expression
Last synced: 16 Apr 2025
https://github.com/luqmanoop/vue-regexr
A simple, beautiful tool for learning, testing and playing with regular expressions in real-time 🎉. Inspired by https://apptorium.com/expressions
javascript regex regular-expression vue
Last synced: 14 Apr 2025
https://github.com/wimpyprogrammer/strings-to-regex
Generate a concise Regular Expression to match a list of words
jest regular-expression trie typescript
Last synced: 11 Jul 2025
https://github.com/yuis-ice/google-search-url-filter
Google Search URL Filter
firefox google-chrome google-search javascript regular-expression tempermonkey userscript
Last synced: 11 Apr 2025
https://github.com/mobilusoss/react-anchorify-text
Create anchor tag with urls in text.
Last synced: 12 Apr 2025
https://github.com/perkinsjr/regexits
regexits is a lightweight javascript Regex solution
credit-card md5 pattern-matching regex regular-expression regular-expressions string-manipulation
Last synced: 18 Mar 2025
https://github.com/alvarofpp/mre
Maker Regular Expressions.
maker python-3 regex regular-expression
Last synced: 06 Mar 2026
https://github.com/ericcornelissen/js-regex-security-scanner
A static analyzer to scan JavaScript code for problematic regular expressions.
javascript redos regex regular-expression sast scanner security static-analysis
Last synced: 25 Feb 2026
https://github.com/kiraadi/library-management-system
Library Management Portal.
array-manipulations cpp file-handling library library-database library-management-system object-oriented-programming oops-in-cpp regular-expression string-manipulation
Last synced: 16 Oct 2025
https://github.com/burnett01/kotlin-expression-builder
A regular expression (REGEX) class and builder (DSL), written in Kotlin.
builder dsl expression expressions java jvm kotlin package regex regular-expression
Last synced: 14 Oct 2025
https://github.com/alenvelocity/regexus
Human-readable regular expressions for TS/JS
human-readable regex regexp regular-expression
Last synced: 06 Mar 2026
https://github.com/ocsoares/class-validator-cpf
Um decorator customizado para validar CPF usando como base o pacote class-validator
class-validator class-validator-cpf cpf iscpf nestjs nodejs regex regular-expression typescript validation validator
Last synced: 15 Sep 2025
https://github.com/rabestro/jetbrains-academy-readability-score
Everyone has their own personal reading history, and as we grow up, we are able to comprehend more and more complicated texts. But how do you estimate the level of difficulty of a given text, and how do you teach a computer to do that? In this project, you will find it out: write a program that determines how difficult the text is and for which age it is most suitable.
enum hyperskill interface jetbrains-academy lambda-expressions lambda-functions lazy-evaluation math readability regular-expression streams student-project text-analysis
Last synced: 17 Aug 2025
https://github.com/github30/cc-regex
'foo@example.com'.match(/\x{email}/)
charactors class email prefecture regex regexp regular-expression url
Last synced: 23 Aug 2025
https://github.com/howprogrammingworks/regexp
Regular Expression is a Syntax to Define String Pattern
regex regexp regular-expression
Last synced: 13 Jun 2025
https://github.com/grandmoff100/regexfactory
Dynamically construct regex patterns with native python representations
library python regex regex-generator regex-pattern regular-expression sphinx-documentation
Last synced: 22 Mar 2025
https://github.com/famished-tiger/srl-ruby
Simple Regex Language library and compiler in Ruby
regex-language regular-expression ruby srl
Last synced: 23 Apr 2025
https://github.com/dagronf/dsfregex
A Swift regex class abstracting away the complexities of NSRegularExpression and Swift Strings
foundation nsregularexpression regex regular-expression swift
Last synced: 27 Mar 2025
https://github.com/jack-q/reg2dfa
Regular expression to DFA, with DOT format output for visualization
dfa nfa regular-expression visualization
Last synced: 14 May 2025
https://github.com/markwhitaker/regextoolbox.kt
Regular expression tools for Kotlin developers
kotlin kotlin-library pattern-matching regex regexes regexp regular-expression regular-expressions
Last synced: 13 Apr 2025
https://github.com/aaronerhardt/regex-blocklist
A Firefox add-on for blocking urls based on Regular Expressions
blocklist case-insensitivity firefox-addon regex-blocklist regular-expression
Last synced: 11 Apr 2025
https://github.com/ikatyang-collab/unicode-regex
regular expression for matching unicode category
Last synced: 05 May 2025
https://github.com/marihachi/carol-js
A powerful, small tool for building regular expressions.
builder esm regex regular-expression tools typescript utility
Last synced: 07 Mar 2026
https://github.com/perfectsiderepos/perfect-regex
A simple / light weight / independent regular expression extesion for Swift String. 轻量正则表达式
regular-expression string swift
Last synced: 21 Oct 2025
https://github.com/vaeth/replacer
Search and replace python regular expressions within many files interactively
regular-expression replace-in-files replace-text
Last synced: 14 Jul 2025
https://github.com/rockfordwei/perfect-pcre2
An express Swift class wrapper for PCRE2
pcre2 perfect regular-expression swift
Last synced: 20 Aug 2025
https://github.com/thomasleplus/dbgrep
Oracle PL/SQL stored procedure to search a regular expression across all text columns of a database.
database grep grepping oracle oracle-database oracle-db plsql regex regular-expression search
Last synced: 08 Jul 2025
https://github.com/markwhitaker/regextoolbox.js
Regular expression tools for JavaScript developers.
javascript javascript-library pattern-matching regex regexes regexp regular-expression regular-expressions
Last synced: 22 Aug 2025
https://github.com/shakilgithub20/compiler-construction-lab
These are Premier University Compiler-Construction-Lab program (eight semester).
comment-remove compiler-designs computation-of-first-sets computation-of-follow-sets elimination-of-left-factoring elimination-of-left-recursion lexical-analyzer python3 regular-expression
Last synced: 27 Oct 2025
https://github.com/octagon-simon/octavalidate-php
This PHP Library helps to validate your forms using regular expressions & validation rules.
form-validation regular-expression validation validation-library
Last synced: 20 Jun 2025
https://github.com/hmmhmmhm/pattern-grab
🤛🏻 Regular Expression Data Grabber
crawling grab grabber parse parser pattern pattern-matching regex regexp regexp-match regular-expression scraping string typescript
Last synced: 16 Apr 2025
https://github.com/doganulus/reelay-codegen
A code generator from high-level formal specifications for monitoring and pattern matching sequential/temporal data.
code-generation data-stream formal-specification monitoring monitoring-tool regular-expression runtime-verification stream-processing temporal-data temporal-logic
Last synced: 05 Apr 2025
https://github.com/yfereidouni/csharp-codesnippet
Wide variety of sample code snippets from the topics related to C#
ado-net datetime delegate entity-framework-core extension-methods files generics lambda-expressions random regular-expression struct thread
Last synced: 04 Sep 2025
https://github.com/a7mdfre7at/masterly.fluentregex
A creative way to Create regular expression patterns using readable API.
fluent-api regex regular-expression string-manipulation string-matching
Last synced: 19 Apr 2025
https://github.com/alhadis/language-regexp
For those who're serious about writing regular expressions.
atom regex regexp regular-expression
Last synced: 25 Feb 2026
https://github.com/eucarlos/regex
👨🏾💻 Guia Rápido de RegEx
csharp expressoes-regulares go guia java javascript perl php python regex regular-expression ruby
Last synced: 29 Jun 2025
https://github.com/cloudtoid/url-pattern
Tired of regex matching for URL paths? This library can help by providing a simple URL pattern parser and matcher.
pattern-matching regex regular-expression routing text-processing url-parser url-parsing url-pattern
Last synced: 14 Jan 2026
https://github.com/prakharchoudhary/fun_with_python
My adventures with python!!
automation machine-learning machine-learning-algorithms python regular-expression web-crawling web-scraping
Last synced: 11 Jul 2025
https://github.com/mcustiel/php-simple-regex
This library allows developers to execute preg_* functions in PHP and use the results as objects, making the use of preg_* functions testeable. PhpSimpleRegex is integrated with PhpVerbalExpressions and Flux, to allow a full Object Oriented Regular Expressions use.
php preg regex regular-expression
Last synced: 11 Jan 2026
https://github.com/turbolent/javaregex
An implementation of Rob Pike's Virtual Machine-based regular expression engine
java regex regexp regular-expression regular-expression-engine regular-expressions virtual-machine vm
Last synced: 17 Feb 2026
https://github.com/alehed/rex
A DSL for deterministic finite state machines
dfa dsl racket regular-expression
Last synced: 17 Feb 2026
https://github.com/getbitpocket/crypto-regex
regular expressions for cryptocurrencies
bitcoin bitcoin-regex crypto-regex cryptocurrencies regular-expression
Last synced: 13 Apr 2025
https://github.com/radeklat/words-to-regular-expression
A command line tool and Python library for converting lists of strings into matching regular expressions (finite automata).
command-line-tool matching-algorithm python python-library regular-expression
Last synced: 16 Mar 2026
https://github.com/keens/onigmo-rs
Rust binding and Rusty API of Onigmo, regexp engine
regex regexp regular-expression rust rust-bindings
Last synced: 23 Mar 2025
https://github.com/adriancmiranda/rx4d
RegExp 4 dummies
match re regex regexp regular-expression test
Last synced: 15 Apr 2025
https://github.com/archo5/sgregex
Regular expression library
c c89 c99 lightweight limited regex regular-expression simple
Last synced: 16 May 2025
https://github.com/almondtools/regexparser
A Parser for regular expressions
Last synced: 14 Jan 2026
https://github.com/davidsusu/regexbee
Honeycomb cells for building regular expressions in a fluent way
bee composable declarative-api fluent fluent-interface immutable java library regex regex-builder regular-expression regular-expressions
Last synced: 14 Jan 2026
https://github.com/bsaltz/greex
Java-based regex match generation for unit testing
java regex regular-expression regular-expressions
Last synced: 14 Jan 2026
https://github.com/eric11eca/automatonstudio
Toolbox for automaton theory, language theory, lambda calculus, propositional logic, and formal semantics. Including simulations, applications, parsers, and algorithm implementations.
automaton context-free-grammar finite-automaton-simulator finite-state-machine lambda-calculus propositional-logic regular-expression turing-machine-simulator
Last synced: 11 Mar 2026
https://github.com/huangjiahua/jregex
A C++ Regular Expression Library.
cxx library regular-expression
Last synced: 01 Mar 2025
https://github.com/nerzh/swift-extensions-pack
regexp regular-expression swift swift-regexp
Last synced: 01 May 2026
https://github.com/piotrjustyna/fontbot
Choose word, choose font, tweet. Twitter bot written in Haskell.
font haskell regular-expression timeline tweets twitter
Last synced: 19 May 2026
https://github.com/elrizwiraswara/regexed_text
This package extends the Text widget to provide additional functionality for highlighting text that matches a given list of RegExp patterns.
highlight link regular-expression text text-style
Last synced: 15 Jun 2025
https://github.com/tiaanduplessis/colors-regex
Regular expressions for rgb, rgba, hex, hexa, hsl & hsla colors
colors-regex hexa hsl hsla-colors regular-expression rgba
Last synced: 08 Aug 2025