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
patient number match on qr code
PCRE (PHP <7.3)
no description available
Submitted by
micha
-
4 years ago
0
US/Canada Zip if at end of line
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
non zero
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
SCx FileName
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
docker ps -> firewall
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
time input format matching
ECMAScript (JavaScript)
no description available
Submitted by
Pavel Dominguez
-
4 years ago
0
Get the timestap of a whatasaap message
Python
If you need to identify only the timestamp of a message, use this REGEX coode.
Submitted by
anonymous
-
4 years ago
0
Sagitta - LTEPIC
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
AOC 2020 day 18
PCRE2 (PHP >=7.3)
no description available
Submitted by
Alan Nevill
-
4 years ago
0
Escaped Character Finder
PCRE2 (PHP >=7.3)
Flavor: PCRE2 Finds escaped characters. No matter how many \ are present, it will always match either \\\. or \. (where . is the character).
Submitted by
Grayson Spidle
-
4 years ago
0
match words between '::' '::'
ECMAScript (JavaScript)
matches words between :: characters ("some text ::this should be matched::")
Submitted by
https://stackoverflow.com/users/3832970/wiktor-stribi%c5%bcew
-
4 years ago
0
URL
PCRE2 (PHP >=7.3)
This pattern can detect URLs.
Submitted by
anonymous
-
4 years ago
0
Email
PCRE2 (PHP >=7.3)
no description available
Submitted by
AiAbdrahim
-
4 years ago
(Last modified 4 years ago)
0
Email
PCRE2 (PHP >=7.3)
A valid Email
Submitted by
AiAbdrahim
-
4 years ago
0
conditional phone numbers
Python
no description available
Submitted by
anonymous
-
4 years ago
0
MongoDB connection string has username and password
ECMAScript (JavaScript)
Test if a mongo db connection string has a username and password declared in it. Doesn't work with with multi host ATM
Submitted by
Gecko Pico
-
4 years ago
0
get first number from string
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
get main content if has :
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Minify HTML
PCRE2 (PHP >=7.3)
Remove Whitespace Remove Comment
Submitted by
Habibi Mustafa
-
4 years ago
0
cisco command
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
...
735
736
737
738
739
...
900
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
username
\s
(
[
a
-
zA
-
Z0
-
9
]
*
)
(?>
\s
privilege
\s
(
[
0
-
9
]
{1,2}
)
)?
.
*
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago