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 14,480 community submitted regex patterns...
-2
4 digit numeric w/o leading zero and no repeat digits
PCRE (PHP <7.3)
A pcre that capture a 4-digit numeric that does not allow a leading zero and no repeat digits.
Submitted by
Jeff Thompson
-
10 years ago
-2
SPLIT ADDRESS LINE INTO STREET NAME AND HOUSE NUMBER
PCRE (PHP <7.3)
This regular expression splits an address line like for example "1117 Franklin Blvd" into the street name and house number. It also supports addresses where street name and house number are the other way around (e.g. "Mustermannstr. 1"). Furthermore, this regular expression also supports address lin...
Submitted by
Andre Wisplinghoff
-
9 years ago
-2
ignore code comments
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Detect DNS Zones with Authoritative Nameservers
PCRE (PHP <7.3)
This can be used to find all zone files that contain authoritative nameservers - e.g. perl -ne 'print if /^([\w.]+\.)\s+.+\sNS\s.+\1/' /var/named/*.db | awk '{print $1}' | sort | uniq
Submitted by
Santrix
-
9 years ago
-2
last, first middle name parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Test Balanced Parentheses
PCRE (PHP <7.3)
no description available
Submitted by
Me
-
9 years ago
-2
regex for redirect url
PCRE (PHP <7.3)
no description available
Submitted by
igor
-
9 years ago
-2
cofor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Test email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Zipcode Mundial
PCRE (PHP <7.3)
no description available
Submitted by
Mariela Gonzalez
-
9 years ago
-2
posix
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
spot2-test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Host and domains
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
Get HTML DIV content
PCRE (PHP <7.3)
Get the content of a DIV HTML Tag.
Submitted by
Ivan Milazzotti
-
9 years ago
-2
Validate credit card numbers
PCRE (PHP <7.3)
Visa, MasterCard, American Express, Diners Club, Discover, JCB
Submitted by
www.regular-expressions.info/creditcard.html
-
9 years ago
-2
IPv4
Python
allows for all legal IPv4 addresses
Submitted by
anonymous
-
9 years ago
-2
Expression that does not include a subexpression
PCRE (PHP <7.3)
Pattern that matches all expression that not include a subexpression. The subexpression could be replaced by a string.
Submitted by
aquintas
-
9 years ago
-2
Parse all adresses in href
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
username in url
PCRE (PHP <7.3)
should start with letter follow by letters and numbers and (-) - zero or more can't start or finish with (-) can't have two or more consecutive (-) char
Submitted by
Ali Azmoude
-
9 years ago
-2
Select the numeric part of a price following an ascii dollar sign
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
3
4
5
6
7
...
724
Community Library Entry
-2
Regular Expression
PCRE (PHP <7.3)
/
(?i)
(?=
^
[^
-
]
+
[^
-
]
+
)
^
[
a
-
z0
-
9
]
[
a
-
z0
-
9-
]
+
?
[
a
-
z0
-
9
]
$
/
Open regex in editor
Description
no description available
Submitted by
Mariela Gonzalez
-
9 years ago