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 12,840 community submitted regex patterns...
-1
balanced parenthesis match
ECMAScript (JavaScript)
break the code to first opening parenthesis and then closing use the groups individually not entirely . This is 40% correct online pattern but mixing it with first open then close groups in two different matches result in 100% success
Submitted by
Muhammed
-
7 years ago
-1
sorry guys - uploaded by fat fingers and can't delete
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
-1
Find linked files
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
-1
e-mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
-1
Email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
-1
Phone numbers USA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
-1
Extract brazilian DDD and phone number
PCRE (PHP <7.3)
Extract brazilian DDD and phone number
Submitted by
Anderson Rodrigues
-
7 years ago
-1
rlike-regex
PCRE (PHP <7.3)
vyhledani netisknutelnych znaku .rlike("[\\x00-\\x1F\\x7F]")
Submitted by
anonymous
-
6 years ago
-1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
-1
Password check
PCRE (PHP <7.3)
12 characters minimum at least 1 capital letter at leat 1 minuscule letter at least 1 number at least 1 special character
Submitted by
anonymous
-
6 years ago
-1
check url for api
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
-1
Extract markdown table from a markdown string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
-1
Universal parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
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
...
281
282
283
284
285
...
642
Community Library Entry
14
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
+
]
?
\d
{1,2}
[
-
\s
]
?
|)
\d
{3}
[
-
\s
]
?
\d
{3}
[
-
\s
]
?
\d
{4}
$
/
Open regex in editor
Description
Allows phone numbers with optional country code, optional special characters and whitespace
Submitted by
Tlmader
-
9 years ago