Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 5,940 community submitted regex patterns...
1
git-http-backend valid paths regex
PCRE2 (PHP >=7.3)
extracted from actual git-http-backend's source code, so you can use it directly without any worry https://github.com/git/git/blob/39fe402d6727efb6c98ddca19fae1f094ffaa6b3/http-backend.c#L713-L726C2
Submitted by
anonymous
-
3 months ago
1
Wikilinks
PCRE2 (PHP >=7.3)
A regular expression to capture the "page" element of every type of wikilinks
Submitted by
anonymous
-
3 months ago
1
Latex Old Matrix Command
PCRE2 (PHP >=7.3)
Used to update old latex code to use the new matrix commands for parsing by KaTeX
Submitted by
funkypickle
-
3 months ago
1
French code ape
PCRE2 (PHP >=7.3)
Le code APE (activité principale exercée) permet d'identifier la branche d'activité principale du travailleur indépendant ou de la société.
Submitted by
anonymous
-
3 months ago
1
Regex 02
PCRE2 (PHP >=7.3)
regex replace
Submitted by
anonymous
-
3 months ago
1
7z l
PCRE2 (PHP >=7.3)
7z list
Submitted by
anonymous
-
3 months ago
(Last modified 3 days ago)
1
For USA Numbers
PCRE2 (PHP >=7.3)
With this Expression you can validate US Numbers
Submitted by
anonymous
-
3 months ago
1
GIT commit title naming convention (strict), conforms to Conventional Commits
PCRE2 (PHP >=7.3)
GIT commit title naming convention (strict), conforms to Conventional Commits (https://www.conventionalcommits.org/en/v1.0.0/)
Submitted by
hexrw
-
3 months ago
1
GIT branch naming conventions (strict)
PCRE2 (PHP >=7.3)
A complete validation for GIT branch names. Includes typical branch names such as main and develop as well as feature, release branches and more. Examples: feat/add-i18n-module release/v1.0.0 main...
Submitted by
hexrw
-
3 months ago
1
Semantic Version Parser/Validator
PCRE2 (PHP >=7.3)
A regex expression that extracts the components of a semantic version and fails if the version does not conform to the semantic version spec. Based on the 2.0.0 spec
Submitted by
Vespion
-
3 months ago
1
TermExtraction_Example
PCRE2 (PHP >=7.3)
Extracts Birth Place from Wikipedia Text
Submitted by
anonymous
-
3 months ago
1
Find all hashtags
PCRE2 (PHP >=7.3)
This regex finds all hashtag (begin by #) in a whole string
Submitted by
Sébastien LHUILLIER
-
3 months ago
(Last modified 3 months ago)
1
extract filename and contents
PCRE2 (PHP >=7.3)
extract filename and contents
Submitted by
anonymous
-
3 months ago
1
Match on period following single letter name initial for TTS Rendering without Pause
PCRE2 (PHP >=7.3)
Match on period following single letter name initial for TTS Rendering without Pause Specifically, matches all occurrences of period if preceded by capital letter. Used in T2S android tts app for rendering text without pausing after letter name initial.
Submitted by
Scott K
-
3 months ago
1
match hex colors
PCRE2 (PHP >=7.3)
Match hex colors with PCRE2
Submitted by
anonymous
-
3 months ago
1
Match ISO 639-1 language codes
PCRE2 (PHP >=7.3)
Match ISO 639-1 language codes
Submitted by
anonymous
-
3 months ago
1
Match non LATIN-9 (ISO 8859-15) characters
ECMAScript (JavaScript)
Matches all non LATIN-9 (ISO 8859-15) characters.
Submitted by
anonymous
-
4 months ago
1
Youtube redirect regex
ECMAScript (JavaScript)
Separate the youtube tracking redirect link to its main companions Version 1 Python PHP Version 2...
Submitted by
TS
-
4 months ago
(Last modified 4 months ago)
1
Persian and English Title and Name and Address
ECMAScript (JavaScript)
it is a validator for name, title, address or any texts what need only accept persian-arabic alphabet and english. additional some characters like - ,
Submitted by
saebkhanzadeh
-
4 months ago
1
文件名称验证
Java 8
操作系统文件名称验证,参考了Windows,Linux,Mac
Submitted by
腾龙问天
-
4 months ago
1
...
4
5
6
7
8
...
297
RFC5322-Email-Id-WHATWG
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?=
.
{3,254}
$
)
[
\w
\!
#
\$
%&'
\*\+\/\=\?\^
_`
\{\|\}
~
\-
]
(
[
\w
\.\!
#
\$
%&'
\*\+\/\=\?\^
_`
\{\|\}
~
\-
]
{0,62}
[
\w
\!
#
\$
%&'
\*\+\/\=\?\^
_`
\{\|\}
~
\-
]
)?
@
[
\w
]
(
[
\w
-
]
{0,61}
[
\w
]
)?
(
\.
[
\w
]
(
[
\w
-
]
{0,61}
[
\w
]
)?
)*
$
/
gi
Open regex in editor
Description
RFC5322 with WHATWG standard email id regex pattern
Submitted by
Sivanesan
-
2 years ago