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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 2,680 community submitted regex patterns...
1
省市县 正则
PCRE2 (PHP >=7.3)
省市县
Submitted by
anonymous
-
a month ago
1
NIR Sécurité Sociale en France
PCRE2 (PHP >=7.3)
Cette regex est un fork de celle-ci permettant de valider un numéro de sécurité sociale français et prenant en compte les cas spécifiques définis sur cette page Wikipedia
Submitted by
Nicolas Jourdain
-
a month ago
(Last modified a month ago)
1
Fonction.Code
PCRE2 (PHP >=7.3)
Fonction.Code
Submitted by
Groupe 18
-
a month ago
(Last modified a month ago)
1
Extract Grasemonkey userscript metadata
PCRE2 (PHP >=7.3)
This regex uses groups to extract metadata from Grasemonkey/Tampermonky user scripts.
Submitted by
pikapower9080
-
a month ago
1
Minecraft whisper commands
PCRE2 (PHP >=7.3)
This regex lets you extract all the uses of the whisper command in Minecraft log files.
Submitted by
anonymous
-
a month ago
1
CSS Selectors
PCRE2 (PHP >=7.3)
Captures CSS Selectors along with combinators
Submitted by
Joseph R
-
a month ago
1
1 lower 1 upper 1 special char, 8 to 18 chars...
PCRE2 (PHP >=7.3)
1 lower 1 upper 1 special char, 8 to 18 chars...
Submitted by
anonymous
-
a month ago
1
snake_case
PCRE2 (PHP >=7.3)
snake_case
Submitted by
Groupe 18
-
a month ago
(Last modified a month ago)
1
для haproxy kuma
PCRE2 (PHP >=7.3)
начало
Submitted by
anonymous
-
a month ago
1
Operations between integers
PCRE2 (PHP >=7.3)
Detect operations between integers (12^-3) and split them into three capture groups: lhs: 12 op : ^ rhs: -3 `
Submitted by
benetsugarboy
-
a month ago
1
Expression for calculator`s memory
PCRE2 (PHP >=7.3)
variable should be only letters = variable almost in the memory or the value including negative
Submitted by
Breathe of fate
-
a month ago
1
Inverse attribute search on elements/components
PCRE2 (PHP >=7.3)
Finds elements/components without a specific prop/attribute
Submitted by
anonymous
-
a month ago
1
Email Validation with TLD Restriction:
PCRE2 (PHP >=7.3)
elegenttech.com
Submitted by
anonymous
-
a month ago
1
IPv4 Address Validation
PCRE2 (PHP >=7.3)
wttmforums.com
Submitted by
anonymous
-
a month ago
1
URL Validation
PCRE2 (PHP >=7.3)
clickthistoget.com
Submitted by
anonymous
-
a month ago
1
US Phone Number Validation (with optional country code and separators)
PCRE2 (PHP >=7.3)
unwhatever.me
Submitted by
anonymous
-
a month ago
1
Strong Password Validation (at least 8 characters, one uppercase, one lowercase, one number, one special character
PCRE2 (PHP >=7.3)
corridanandco.com
Submitted by
anonymous
-
a month ago
1
Hexadecimal Color Code Validation
PCRE2 (PHP >=7.3)
murdochleaks.org
Submitted by
anonymous
-
a month ago
1
HTML Tag Matching
PCRE2 (PHP >=7.3)
downtimeonline.net
Submitted by
anonymous
-
a month ago
1
HTML Tag Matching
PCRE2 (PHP >=7.3)
downtimeonline.net
Submitted by
anonymous
-
a month ago
1
...
121
122
123
124
125
...
134
NATO Stock Number (with or without NSC)
0
Regular Expression
PCRE (PHP <7.3)
/
^
*
(
\d
{4}
-
?
)?
\d
{2}
-
?
\d
{3}
-
?
\d
{4}
*
$
/
Open regex in editor
Description
RegEx to validate a NATO Stock Number with or without the NATO Stock Code and with or without dashes
Submitted by
Matthew Perryman
-
9 years ago