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,020 community submitted regex patterns...
-1
Full or 3 letter abbreviated months
Python
Matches with either the month or abbreviated 3 letter month name. No matching groups used
Submitted by
Benargee
-
6 years ago
-1
Slack
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
-1
Parse Accept-Language
PCRE (PHP <7.3)
This regex just grabs all the possible languages from the Accept-Language HTTP header.
Submitted by
anonymous
-
6 years ago
-1
ip4/ip6 capture
PCRE (PHP <7.3)
regex to capture ip4/ip6 addresses with named capture groups. The Following features are included: PHP and python support ip4 byte size check (ensures byte can't exceed 255) ip6 checks if hex characters are valid uses a negative lookbehind to check if the ip is a word on its own...
Submitted by
Meryo
-
4 years ago
-1
Facebook profile url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
-1
Jenkins build number extraction
PCRE (PHP <7.3)
Extracts the build number from the source field in Splunk from the file path
Submitted by
anonymous
-
5 years ago
-1
Token Cadena
PCRE (PHP <7.3)
Identifica una cadena tipo javascript
Submitted by
anonymous
-
5 years ago
-1
WP debug 1
PCRE (PHP <7.3)
For: [15-Nov-2019 06:00:01 UTC] PHP Notice: wpdb::prepare was called incorrectly. The query does not contain the correct number of placeholders (0) for the number of arguments passed (1). Please see Debugging in WordPress for more information. (This message was added in version 4.8.3.) in /var/www/...
Submitted by
anonymous
-
5 years ago
-1
string-escape JSON
PCRE (PHP <7.3)
no description available
Submitted by
Narvey
-
5 years ago
-1
kube-system:sealed-secrets-controller
PCRE (PHP <7.3)
timestamp extraction for k8s:kube-system:sealed-secrets-controller logs
Submitted by
anonymous
-
5 years ago
-1
Debit Cards
PCRE (PHP <7.3)
checks for BIN and then 10 digits after.
Submitted by
anonymous
-
5 years ago
-1
IPv4 Subnet Mask Verification
PCRE (PHP <7.3)
Intended to verify a valid IPv4 subnet mask against every valid IPv4 subnet mask possible using octet format. Does not check against a string that is using CIDR notation.
Submitted by
anonymous
-
5 years ago
-1
Parse street and house number from address string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
-1
Check if is Discord name in format name#tag
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
-1
Askmeoffers deals and coupons
PCRE (PHP <7.3)
With their unmatched cashback strategy, Askmeoffers focus has been on customer retention and engagement as much as it has been on the acquisition. Build a relationship with the online commerce giant and discover the significant savings you’ll make with every order. And when you thought it couldn’t p...
Submitted by
anonymous
-
5 years ago
-1
VALIDATE CELLPHONE - BRAZIL
PCRE (PHP <7.3)
MASK TO VALIDATION, WHEN YOU NEED THE AREA CODE OPEN. TO A CELLPHONE WITH 9 OR 8 DIGITS + AREA CODE OF 2 DIGITS 11 987654321 -> IT WILL GET 98765
Submitted by
anonymous
-
4 years ago
-1
Regex to find Gmail id
PCRE (PHP <7.3)
Easily identify gmail id
Submitted by
anonymous
-
4 years ago
-1
Filter static web content
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
-1
Breakdown of this/that
Python
no description available
Submitted by
anonymous
-
4 years ago
-1
Conditional
PCRE (PHP <7.3)
match String Cool! only if there is a : somewhere preciding it
Submitted by
anonymous
-
4 years ago
1
...
14
15
16
17
18
...
901
Community Library Entry
-1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
a
-
z0
-
9
]
(?:
[
a
-
z0
-
9
\-
]
*
[
a
-
z0
-
9
]
)?
$
/
gm
Open regex in editor
Description
pattern to validate a slug with numbers
Submitted by
mestri.rodrigo
-
2 years ago