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,040 community submitted regex patterns...
1
Match a valid MAC address (with optional delimiters)
PCRE2 (PHP >=7.3)
techakc.com
Submitted by
anonymous
-
4 months ago
1
HTML Tag Matching
PCRE2 (PHP >=7.3)
downtimeonline.net
Submitted by
anonymous
-
4 months ago
1
HTML Tag Matching
PCRE2 (PHP >=7.3)
downtimeonline.net
Submitted by
anonymous
-
4 months ago
1
Hexadecimal Color Code Validation
PCRE2 (PHP >=7.3)
murdochleaks.org
Submitted by
anonymous
-
4 months ago
1
Strong Password Validation (at least 8 characters, one uppercase, one lowercase, one number, one special character
PCRE2 (PHP >=7.3)
corridanandco.com
Submitted by
anonymous
-
4 months ago
1
US Phone Number Validation (with optional country code and separators)
PCRE2 (PHP >=7.3)
unwhatever.me
Submitted by
anonymous
-
4 months ago
1
URL Validation
PCRE2 (PHP >=7.3)
clickthistoget.com
Submitted by
anonymous
-
4 months ago
1
IPv4 Address Validation
PCRE2 (PHP >=7.3)
wttmforums.com
Submitted by
anonymous
-
4 months ago
1
Email Validation with TLD Restriction:
PCRE2 (PHP >=7.3)
elegenttech.com
Submitted by
anonymous
-
4 months ago
1
Inverse attribute search on elements/components
PCRE2 (PHP >=7.3)
Finds elements/components without a specific prop/attribute
Submitted by
anonymous
-
4 months ago
1
RFC3339 Validator
PCRE (PHP <7.3)
RFC3339 Validator
Submitted by
anonymous
-
4 months ago
(Last modified 4 months ago)
1
Expression for calculator`s memory
PCRE2 (PHP >=7.3)
variable should be only letters = variable almost in the memory or the value including negative
Submitted by
Breathe of fate
-
4 months ago
1
.NET CSV parser
.NET 7.0 (C#)
Parses CSV files using comma (,) as delimiter and double quote (") as quoted-field tag. Features: Respects empty fields, including at the beginning and at the end of the line Respects line breaks in quoted fields
Submitted by
kevinhp
-
5 months ago
1
ORCID iD
Python
The ORCID ID (16-digit identifiers) format checker. Reference: Format of the ORCID iD
Submitted by
Ken Lui
-
5 months ago
1
Operations between integers
PCRE2 (PHP >=7.3)
Detect operations between integers (12^-3) and split them into three capture groups: lhs: 12 op : ^ rhs: -3 `
Submitted by
benetsugarboy
-
5 months ago
1
IP address without local
.NET 7.0 (C#)
Matches IP addresses excluding local addresses
Submitted by
pvl_zh
-
5 months ago
1
для haproxy kuma
PCRE2 (PHP >=7.3)
начало
Submitted by
anonymous
-
5 months ago
1
snake_case
PCRE2 (PHP >=7.3)
snake_case
Submitted by
Groupe 18
-
5 months ago
(Last modified 5 months ago)
1
Catch domains
Python
Catch domains from str. Details see TEST STRING
Submitted by
Casey TSui
-
5 months ago
1
1 lower 1 upper 1 special char, 8 to 18 chars...
PCRE2 (PHP >=7.3)
1 lower 1 upper 1 special char, 8 to 18 chars...
Submitted by
anonymous
-
5 months ago
1
...
14
15
16
17
18
...
902
Community Library Entry
0
Regular Expression
Python
r"
^
[
a
-
zA
-
Z._'~,-
]
+
(?:
+
[
a
-
zA
-
Z._'~,-
]
+
)*
$
"
gm
Open regex in editor
Description
Matches words (with certain special chars) and one or more spaces in between those words.
Submitted by
JAVA
-
9 years ago