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
Parse group and subgroup names with parameters
PCRE (PHP <7.3)
no description available
Submitted by
zeloras
-
6 years ago
0
phoneNumRegex
Python
Find phone numbers in a text string.
Submitted by
anonymous
-
6 years ago
0
Multiple line modifier
Python
Using (?m) to match only the wanted line
Submitted by
anonymous
-
6 years ago
0
Find SSN
PCRE (PHP <7.3)
This will find SSN in multiple forms in a document. Source for ED https://www.jscape.com/blog/bid/79591/exploring-regular-expressions-in-dlp
Submitted by
anonymous
-
6 years ago
0
Match decimal number (integer, floating-point, scientific)
ECMAScript (JavaScript)
Should be able to match a dot-separated decimal number (C-style) Works with: integers floating-point scientific notation
Submitted by
anonymous
-
6 years ago
0
password match
PCRE (PHP <7.3)
password 8-16 characters atleast 1 lowercase,1 upper case,1 Spl. char,1 digit
Submitted by
anonymous
-
6 years ago
0
musical chords
PCRE (PHP <7.3)
this will match the frequently and rarely using musical chords in a sheet music
Submitted by
anonymous
-
6 years ago
0
cleanup regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
music chords max possible
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
Regex to group output of $(ip addr) interface
Python
For this task, I did not need inet6 (IPv6 stuff), so I left it out. The regex in its current state does not allow for that to be included without manually adding the entire second part
Submitted by
anonymous
-
6 years ago
0
Validazione numero patente italiana
ECMAScript (JavaScript)
no description available
Submitted by
Dario Cancelliere
-
6 years ago
0
c functions search
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Home Tel-phone
Python
8 digits or 10 digits
Submitted by
anonymous
-
6 years ago
0
positive lookahead
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Date Validation #3
PCRE (PHP <7.3)
validates any date in (d)d-(M)M-yyyy format from 1581-01-01 to 9999-12-31, allowed delimiters are "/", "." and "-"
Submitted by
anonymous
-
6 years ago
0
Date Validation #2
PCRE (PHP <7.3)
validates any date in yyyy-M-d format from 1581-01-01 to 9999-12-31, allowed delimiters are "/", "." and "-"
Submitted by
anonymous
-
6 years ago
0
Date Validation #2
PCRE (PHP <7.3)
validates any date in M-d-yyyy format from 1581-01-01 to 9999-12-31, allowed delimiters are "/", "." and "-"
Submitted by
anonymous
-
6 years ago
0
Youtube id from a youtube url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
List Cleanup
PCRE (PHP <7.3)
cleans up a semicolon delimited list (remove white spaces, multiple semicolons, semicolons at the beginning or the end)
Submitted by
anonymous
-
6 years ago
0
E-mail
Python
Think about first letter and the later parts are some specific symbol ( .-).
Submitted by
anonymous
-
6 years ago
1
...
516
517
518
519
520
...
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