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 18,000 community submitted regex patterns...
0
old_structure
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
bs_structure
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
tf_horovod
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
phone
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
get video ID from youtube url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
DHub filename parsing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
DHub filename parsing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
DHub filename parsing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
json to csv
Python
only the begining though
Submitted by
anonymous
-
6 years ago
0
DEV-42915
PCRE (PHP <7.3)
DEV-42915
Submitted by
anonymous
-
6 years ago
0
身份证
ECMAScript (JavaScript)
^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))((0-2)|10|20|30|31)\d{3}[0-9Xx]$
Submitted by
anonymous
-
6 years ago
0
js sql Apply function and alias to parameter (first match)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
REGEX
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Pradzia
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
REGEX
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Pradzia
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Allow 24 hour times without seconds
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Allow 24 hour time formats, optionally with seconds
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Flip switch mapping
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
...
520
521
522
523
524
...
900
Community Library Entry
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