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-03 00:25:55 UTC
- JSON Representation
https://github.com/rabestro/sololearn-challenges
Descriptions of SoloLearn Coding Challenges (all 72, including pro) and solutions in C, Java, Python and Ruby
challenge challenges regular-expression sololearn streams student-project
Last synced: 12 Apr 2025
https://github.com/phlak/splat
Glob-like file and pattern matching utility.
file-matching glob pattern-matching php regex regular-expression
Last synced: 13 Sep 2025
https://github.com/StartAutomating/Irregular
Regular Expressions made Strangely Simple
powershell powershell-modules regex regexp regular-expression
Last synced: 10 Apr 2025
https://github.com/startautomating/irregular
Regular Expressions made Strangely Simple
powershell powershell-modules regex regexp regular-expression
Last synced: 22 Mar 2025
https://github.com/phikal/regex
A Regular Expression game for Android
android fdroid game puzzle regular-expression
Last synced: 13 May 2025
https://github.com/micromatch/nanomatch
Fast, minimal glob matcher for node.js. Similar to micromatch, minimatch and multimatch, but without support for extended globs (extglobs), posix brackets or braces, and with complete Bash 4.3 wildcard support: ("*", "**", and "?").
bash glob glob-matching glob-pattern globbing globstar javascript match micromatch minimatch multimatch node node-glob nodejs pattern pattern-matching regular-expression star tidelift wildcard
Last synced: 12 Apr 2025
https://github.com/zzzprojects/eval-sql.net
SQL Eval Function | Dynamically Evaluate Expression in SQL Server using C# Syntax.
eval evaluation evaluator expression-evaluator regular-expression splitting-text sql sql-server
Last synced: 05 Apr 2025
https://github.com/zzzprojects/Eval-SQL.NET
SQL Eval Function | Dynamically Evaluate Expression in SQL Server using C# Syntax.
eval evaluation evaluator expression-evaluator regular-expression splitting-text sql sql-server
Last synced: 04 May 2025
https://github.com/phenax/typed-regex
A typescript library for type-safe regex for named capture groups
capture-group regex regular-expression typescript
Last synced: 16 Jun 2025
https://github.com/foo123/regexanalyzer
Regular Expression Analyzer and Composer for JavaScript, PHP, Python
analyser browser composer javascript php python regular-expression statistics
Last synced: 10 Mar 2026
https://github.com/goldinguy/ultimateregexresource
📝 The ultimate collection of regex syntax and resources to power up your programming!
cheatsheet learn-regex regex regex-resource regex-syntax regular-expression regular-expressions resource
Last synced: 11 Jun 2025
https://github.com/curious-odd-man/rgxgen
Regex: generate matching and non matching strings based on regex pattern.
generat generator java maven regex regex-pattern regexp regular-expression regular-expressions text-generation
Last synced: 04 Apr 2025
https://github.com/jserv/cregex
A small implementation of regular expression matching engine in C
regex regexp regular-expression
Last synced: 29 Jun 2025
https://github.com/pacdiv/regex.guide
The RegexGuide is an online tool for future regex users.
gatsby gatsby-site guide javascript react regex regular-expression regular-expressions
Last synced: 16 Mar 2025
https://github.com/nilium/regen
Tool to generate random strings from Go/RE2 regular expressions (Migrated to https://git.sr.ht/~nilium/regen)
evil regexp regular-expression string-generator
Last synced: 22 Jan 2026
https://github.com/shinnn/github-username-regex
A regular expression that only matches a currently valid Github username
account javascript regular-expression username validation
Last synced: 15 Mar 2026
https://github.com/alixaxel/genex
Genex package for Go
genex go golang regex regular-expression
Last synced: 20 Mar 2025
https://github.com/jaynetics/js_regex
Converts Ruby regexes to JavaScript regexes.
javascript regular-expression ruby
Last synced: 15 Apr 2025
https://github.com/gidlov/copycat
A PHP Scraping Class
copycat imdb laravel php regular-expression scraper scraping
Last synced: 13 Dec 2025
https://github.com/terkelg/globrex
Glob to regular expression with support for extended globs.
glob glob-to-regex globbing pattern regex regexp regular-expression wildcard
Last synced: 04 Oct 2025
https://github.com/deniskyashif/regexjs
A fast and minimal regular expression engine.
finite-state-machine javascript regular-expression
Last synced: 25 Jan 2026
https://github.com/JavaScriptRegenerated/yieldparser
Parse using JavaScript generator functions — it’s like components but for parsing!
generator-functions javascript parser regular-expression typescript
Last synced: 23 Jul 2025
https://github.com/trusktr/regexr
Easily compose regular expressions without the need for double-escaping inside strings.
es6 hand-picked-regexes javascript regex regex-engine regex-util regexes regexp regexr regular-expression template-string
Last synced: 18 Oct 2025
https://github.com/mindawei/aliyun-safe-match
Webshell和钓鱼网站检测(阿里云安全算法挑战赛 第29名)
fish java maven regular-expression safe webshell
Last synced: 23 Apr 2025
https://github.com/jonschlinkert/to-regex
Generate a regex from a string or array of strings.
javascript node nodejs regex regexp regular-expression
Last synced: 05 Apr 2025
https://github.com/krxkgit/helpuploadfiles
HelpUploadFiles - 星空上传助手,为 上传文件夹 赋能。 HelpUploadFiles - empowering upload folders.
7z aliyun baiduyun bandizip chromium compression cpp dll-injection edge folder google-drive intercept localsend regular-expression send-anywhere tecentcloud tianyiyunpan upload-files windows winscp
Last synced: 20 Aug 2025
https://github.com/mathiasbynens/hashtag-regex
A regular expression to match hashtag identifiers as per the Unicode Standard.
emoji hashtag regex regexp regular-expression unicode
Last synced: 06 Apr 2025
https://github.com/paurkedal/ppx_regexp
Matching Regular Expressions with OCaml Patterns
ocaml-patterns ppx-rewriter regular-expression
Last synced: 01 Oct 2025
https://github.com/octagon-simon/octavalidate
This Library helps to validate your HTML forms using validation rules, sophisticated regular expressions and form input attributes.
form form-validation html input javascript regular-expression validation validation-library validator
Last synced: 07 May 2025
https://github.com/trinker/qdapregex
qdapRegex is a collection of regular expression tools associated with the qdap package that may be useful outside of the context of discourse analysis.
qdapregex r regular-expression
Last synced: 09 Apr 2025
https://github.com/cfhamlet/os-urlpattern
Unsupervised URLs clustering, generate and match URL pattern.
cluster pattern regular-expression url
Last synced: 18 Feb 2026
https://github.com/alokmenghrajani/riskybird
Regular expression authors best friend
Last synced: 05 Jan 2026
https://github.com/zazuum/xlsxgrep
xlsxgrep is a CLI tool to search text in XLSX, XLS, XLSM, CSV, TSV and ODS files. It works similarly to Unix/GNU Linux grep.
command-line-tool csv-files grep ods-files regex regular-expression tsv-files unix xls-files xlsm-files xlsx xlsx-files
Last synced: 08 Apr 2026
https://github.com/marianobarrios/dregex
dregex is a Java library that implements a regular expression engine using deterministic finite automata (DFA). It supports some Perl-style features and yet retains linear matching time, and also offers set operations.
dfa java-library regex regular-expression regular-expression-engine scala
Last synced: 11 Apr 2025
https://github.com/soi013/filerenamerdiff
A File Renamer App featuring a difference display before and after the change.
csharp file filesystem material-design regex regular-expression rename rename-files renamer renamer-utility utility wpf xaml
Last synced: 23 Apr 2025
https://github.com/orsinium-labs/re
Elixir library for writing readable regexes in functional style
elixir elixir-lang erlang fp macro metaprogramming pcre re regex regexp regular-expression
Last synced: 15 Apr 2025
https://github.com/0xsobky/regaxor
A regular expression fuzzer.
fuzzing regex regexp regular-expression tools
Last synced: 07 Sep 2025
https://github.com/0xSobky/Regaxor
A regular expression fuzzer.
fuzzing regex regexp regular-expression tools
Last synced: 27 Sep 2025
https://github.com/jaywcjlove/regex-mate
RegexMate is a beautifully designed regex app built exclusively for macOS. With a clean and intuitive interface, it empowers you to craft and test regular expressions with ease.
desktop-app ios-app jaywcjlove learn-regex learn-regex-zh macos macos-app macos-application regex regular-expression swift-app swift-application swiftui swiftui-app swiftui-application
Last synced: 02 Jan 2026
https://github.com/overnote/over-shell
Shell脚本笔记:[进度-80%]正则表达式、GREP、SED、AWK、函数
awk grep regular-expression sed shell-scripts
Last synced: 25 Feb 2026
https://github.com/ticky/ruby-emoji-regex
💎 A set of Ruby regular expressions for matching Unicode Emoji symbols.
emoji regex regexp regular-expression unicode
Last synced: 16 May 2025
https://github.com/jonschlinkert/regex-cache
Memoize the results of a call to the RegExp constructor, avoiding repetitious runtime compilation of the same string and options, resulting in dramatic speed improvements.
cache javascript regex regular-expression
Last synced: 09 Apr 2025
https://github.com/mfix22/rexrex
🦖 Composable JavaScript regular expressions
composer functional functional-programming regex regular-expression reusable
Last synced: 21 Mar 2025
https://github.com/ehmicky/wild-wild-utils
🤠 Functional utilities using 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: 09 Apr 2025
https://github.com/gmullerb/eslint-plugin-regex
ESLint rules using Regular Expressions
eslint eslint-plugin eslint-regex eslint-regex-rule eslint-regular-expression eslint-regular-expression-rule eslint-rules eslintplugin regex regex-rule regexp regular-expression regular-expression-rule
Last synced: 30 Apr 2025
https://github.com/jonschlinkert/is-git-url
Regex to validate that a URL is a git URL.
git is match regex regular-expression test url
Last synced: 10 May 2025
https://github.com/howl-anderson/microregex
一个微型的正则表达式引擎 | A micro regular expression engine
finite-state-machine regular-expression regular-expression-engine
Last synced: 11 Jul 2025
https://github.com/generall/aligner
Sublime Text plugin for automatic code alignment.
aligner bnf grammar plugin regular-expression ruby text-editor
Last synced: 13 Apr 2025
https://github.com/fiatjaf/tempreites
One-file semantic DSL-free templates direto da roça for the browser and server.
html regular-expression template
Last synced: 16 Oct 2025
https://github.com/paul-wolf/strgen
A Python module for a template language that generates randomized data
character-set python random random-generation random-string randomizer regular-expression string-generator template-language
Last synced: 25 Feb 2026
https://github.com/k-takata/bregonig
This is a source code repository of bregonig.dll regular expression library.
c regex regexp regular-expression
Last synced: 11 Apr 2025
https://github.com/regexhq/filename-regex
Regular expression for matching file names, with or without extension.
basename file filename javascript name path regex regular-expression
Last synced: 17 Mar 2025
https://github.com/Py-Contributors/PyEmailer
Send Emails In One Click With Python.
automation codeperfectplus email-sender emaillist hacktoberfest python python-automation python3 regular-expression regular-expressions smtp-server smtplib
Last synced: 08 Jul 2025
https://github.com/regexhq/hex-color-regex
Regular expression for matching hex color values from string.
colors hex hex-color regex regular-expression web web-colors
Last synced: 10 Jul 2025
https://github.com/bnjmnt4n/regjsgen
Generate regular expressions from regjsparser’s AST.
ast generate regex regexp regjs regular-expression
Last synced: 09 Apr 2025
https://github.com/as/edit
A stand-alone implementation of the Acme text editor's command language.
acme command edit language regular-expression sam structural
Last synced: 31 Jan 2026
https://github.com/micromatch/extglob
Extended globs. Add (almost) the expressive power of regular expressions to glob patterns.
extended-globbing extglob glob globbing javascript minimatch node nodejs pattern regex regular-expression
Last synced: 07 Apr 2025
https://github.com/jonschlinkert/regex-not
Create a javascript regular expression for matching everything except for the given string.
javascript memoize negation nodejs not regex regular-expression
Last synced: 13 Apr 2025
https://github.com/regexhq/doi-regex
Regular expression for matching DOIs
doi doi-regex regex regular-expression
Last synced: 02 Jan 2026
https://github.com/alirezakay/regextodfa
converting regex (regular expression) to DFA directly by creating syntax tree in java
automata compiler compilers deterministic dfa directly finite-state-machine in-java java lexical-analysis netbeans regex regex-to-dfa regex-to-dfa-java regular-expression regular-expressions straightly syntax-analysis syntax-tree synthesis
Last synced: 11 Jul 2025
https://github.com/micromatch/posix-character-classes
POSIX character classes for creating regular expressions.
brackets character-class digit expand-brackets extended-globs extglob node posix posix-character regex regular-expression
Last synced: 02 Jul 2025
https://github.com/kberov/ctags
Extended Rules to support Modern Perl in Exuberant Ctags
atom ctags-management extended-rules exuberant-ctags jedit perl regular-expression sublime-text-3 symbols tagbar vim
Last synced: 22 Mar 2025
https://github.com/jonschlinkert/shallow-clone
Make a shallow clone of an object, array or primitive.
array clone object regex regular-expression shallow
Last synced: 09 Apr 2025
https://github.com/gfx/ruby-regexp_trie
Fast keyword matching with the Trie algorithm (a Ruby port of Perl's Regexp::Trie)
regexp regexp-trie regular-expression ruby-library
Last synced: 07 Sep 2025
https://github.com/perazz/fortran-regex
Fortran port of the tiny-regex-c library
fortran regex regex-parser regular-expression regular-expressions
Last synced: 03 Feb 2026
https://github.com/wimpyprogrammer/regex-to-strings
Generate strings that match a Regular Expression pattern
generator iterable jest regular-expression typescript
Last synced: 08 Apr 2025
https://github.com/kareman/Patterns
A Swift PEG parser
grammar grammars parsing-expression-grammar parsing-expression-grammars peg peg-parser regexes regexps regular-expression swift
Last synced: 22 Jul 2025
https://github.com/micromatch/expand-brackets
Expand POSIX bracket expressions (character classes) in glob patterns.
character-class glob globbing javascript micromatch node nodejs posix posix-brackets regex regexp regular-expression
Last synced: 20 Jun 2025
https://github.com/jackfoxy/fsregex
Composable regular expressions for F#
fsharp functional-programming regular-expression regular-expressions
Last synced: 14 May 2025
https://github.com/kareman/patterns
A Swift PEG parser
grammar grammars parsing-expression-grammar parsing-expression-grammars peg peg-parser regexes regexps regular-expression swift
Last synced: 09 Aug 2025
https://github.com/paradiseduo/subweb
Utility to convert between various subscription format
clash clashr gist quantumult quantumultx regular-expression ss ssr subconverter surfboard surge v2ray
Last synced: 05 Mar 2026
https://github.com/maximkulkin/hypothesis-regex
Hypothesis extension to allow generating strings based on regex
hypothesis quickcheck regex regular-expression testing
Last synced: 27 Oct 2025
https://github.com/phorward/libphorward
C/C++ library for dynamic data structures, regular expressions, lexical analysis & more...
c c-plus-plus documentation-tool dynamic-arrays hash-table lexical-analysis linked-list prototype-generator regular-expression regular-expression-engine regular-expressions
Last synced: 27 Feb 2026
https://github.com/benouinirachid/patterns-finder
Simple, Fast, Powerful and Easily extensible python package for extracting patterns from text, with over than 60 predefined Regular Expressions.
annotations information-extraction regular-expression visualization
Last synced: 09 Apr 2026
https://github.com/trinker/termco
Regular Expression Counts of Terms and Substrings
classification-model frequent-terms r regex regex-model regular-expression terms-count
Last synced: 10 Jul 2025
https://github.com/awalterschulze/ragax
A Talk on Ragalur Expressions
ableton-live brzozowski-derivative context-free-grammar golang haskell javascript maxmsp music-generation playground regular-expression slide validation
Last synced: 04 May 2025
https://github.com/offamitkumar/daily-coding-problem
Solution for Daily Coding Problems. Some files are modified and moved to new location. New README.md will be completed Soon.
characters cisco cpp daily-coding-problem dcp facebook google interview interview-practice interview-preparation interview-questions interviews leetcode microsoft python python3 quara questions regular-expression
Last synced: 11 Aug 2025
https://github.com/petere/pgpcre
PCRE functions for PostgreSQL
pcre perl postgresql postgresql-extension regular-expression
Last synced: 14 Apr 2025
https://github.com/igrek51/regex-rename
Bulk rename tool based on regular expressions to rename multiple files at once
bulk regex regular-expression rename rename-files
Last synced: 16 May 2025
https://github.com/liuliqiang/learningrein30mins
正则表达式30分钟入门
docs gitbook python re regular-expression
Last synced: 24 Apr 2025
https://github.com/ikatyang-collab/cjk-regex
regular expression for matching CJK text
Last synced: 08 Apr 2025
https://github.com/joaopauloaramuni/fundamentos-teoricos-da-computacao
Repo Fundamentos Teóricos da Computação
automata grammar jflap regular-expression turing-machine
Last synced: 10 Jun 2025
https://github.com/alixaxel/genex.js
Genex module for JavaScript
genex javascript regex regular-expression typescript
Last synced: 20 Mar 2025
https://github.com/markusressel/kodehighlighter
Simple, extendable code highlighting for Spannables on Android.
android android-library code-highlighter codehighlighting hacktoberfest regex regular-expression spannable
Last synced: 21 Jul 2025
https://github.com/apdullahyayik/TrTokenizer
🧩 A simple sentence tokenizer.
regular-expression sentence-tokenizer turkish-language turkish-nlp word-segmentation word-tokenizing
Last synced: 25 Oct 2025
https://github.com/domgolonka/foretoken
A blazing fast, highly customizable, modern-day defence tool using (in memory) SQL & REST/gRPC protocols.
consul database etcdv3 fraud-scores grpc grpc-protocols modern-threats proxy regex regular-expression restful-api security security-automation security-tools spam threat-detection threats tor vpn zookeeper
Last synced: 12 Mar 2026
https://github.com/soongo/path-to-regexp
Turn a path string such as `/user/:name` into a regular expression
path path-to-regexp regexp regular-expression router soon soongo
Last synced: 18 Jan 2026
https://github.com/banjo/regcode
🔷 Create regular expressions easily with code
regcode regex regular-expression regular-expressions
Last synced: 22 Jan 2026
https://github.com/michaelrsweet/abnf
ABNF to REGEX Library
abnf abnf-regex php regular-expression
Last synced: 09 Apr 2025
https://github.com/victorqribeiro/mychatbot
A simple JavaScript chatbot
chatbot javascript regular-expression web-audio-api
Last synced: 05 May 2025
https://github.com/benibela/regexgen
Reverse regular expression engine that calculates strings matching a given regex
c-plus-plus cli regex regexgen regular-expression
Last synced: 29 Oct 2025
https://github.com/lrq3000/csg_mri_pipelines
MRI preprocessing and analysis pipelines and tools for the study of disorders of consciousness
ascii conn dti dwi fmri fmri-data-analysis fmri-preproc mri python regexp regular-expression spm unicode-characters
Last synced: 05 May 2025
https://github.com/danielmartin/regexp-expand
Show the ELisp regular expression at point in rx form.
emacs emacs-lisp regex regexp regular-expression
Last synced: 12 Apr 2025
https://github.com/regexhq/word-regex
Regular expression for matching words in a string. Support for english, CJK and Cyrillic.
Last synced: 10 Jul 2025
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/mndrix/regex
Regular expressions for Prolog
prolog regex regular-expression
Last synced: 20 Nov 2025
https://github.com/gowww/app
🚀 Full featured HTTP framework for web apps
framework fullstack go gohtml golang gowww handler http internationalization middleware regular-expression router server web webapp
Last synced: 01 Mar 2026
https://github.com/jaynetics/repper
Regexp pretty printer and formatter for Ruby
code-formatter formatter pretty-printer regexp regular-expression ruby
Last synced: 12 May 2025