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
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 3,280 community submitted regex patterns...
1
For USA Numbers
PCRE2 (PHP >=7.3)
With this Expression you can validate US Numbers
Submitted by
anonymous
-
a year 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
-
a year 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
-
a year 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
-
a year ago
1
TermExtraction_Example
PCRE2 (PHP >=7.3)
Extracts Birth Place from Wikipedia Text
Submitted by
anonymous
-
a year 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
-
a year ago
(Last modified a year ago)
1
extract filename and contents
PCRE2 (PHP >=7.3)
extract filename and contents
Submitted by
anonymous
-
a year 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
-
a year ago
1
match hex colors
PCRE2 (PHP >=7.3)
Match hex colors with PCRE2
Submitted by
anonymous
-
a year ago
1
Match ISO 639-1 language codes
PCRE2 (PHP >=7.3)
Match ISO 639-1 language codes
Submitted by
anonymous
-
a year ago
1
文件名称验证
Java 8
操作系统文件名称验证,参考了Windows,Linux,Mac
Submitted by
腾龙问天
-
a year ago
1
datime
PCRE2 (PHP >=7.3)
datetime
Submitted by
anonymous
-
a year ago
1
Google chat WebHook integration
PCRE2 (PHP >=7.3)
Regular match an URL integration to Google chat by WebHook
Submitted by
Vito Bryliano
-
a year ago
1
12 hour time
PCRE2 (PHP >=7.3)
Use this expression to validate a 12 hour time input
Submitted by
Amit Sharma
-
a year ago
1
Malaysian NRIC
PCRE2 (PHP >=7.3)
Strict Malaysian NRIC format check Version 2: Shorten with assertion
Submitted by
17Hieng
-
a year ago
(Last modified a year ago)
1
URL
PCRE2 (PHP >=7.3)
Support any types of URL for https and http protocol. http or https [optional] domain name [mandatory] file path [optional] query parameter [optional]
Submitted by
17Hieng
-
a year ago
(Last modified a year ago)
1
Custom Datetime Finder
PCRE2 (PHP >=7.3)
Determine date time parts
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
git-flow branch names
PCRE2 (PHP >=7.3)
This is the regex for our branch names.
Submitted by
stefanfrede
-
a year ago
1
Match paths
PCRE2 (PHP >=7.3)
Match paths
Submitted by
os_niko
-
a year ago
1
Prime number test
PCRE2 (PHP >=7.3)
Prime number test
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
...
25
26
27
28
29
...
164
Community Library Entry
2
Regular Expression
.NET 7.0 (C#)
@"
(
\d\d\d\d
)
(
\d\d
)
(
\d\d
)
_
(
\d\d
)
(
\d\d
)
(
\d\d
)
(
\S
+
)
"
gm
Open regex in editor
Description
Replace sub-strings in string
Submitted by
anonymous
-
2 years ago