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
Find Apostrophe via Regex and JavaScript
ECMAScript (JavaScript)
This is function matching apostrophe via regex and JavaScript. Also find broken apostrophe and match whole word.
Submitted by
Ivijan-Stefan Stipic <creativform@gmail.com>
-
8 years ago
1
url - extrakce hostname
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Tablename = schema.table
ECMAScript (JavaScript)
Tablename composed by schema.table
Submitted by
Glauber Costa Vila Verde
-
8 years ago
1
get CN from LDAP directory entry
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Community Pageviews
ECMAScript (JavaScript)
no description available
Submitted by
Alfredo Hinojosa
-
8 years ago
1
only letters and numbers
PCRE (PHP <7.3)
Match only with letters and numbers between x to y quantities
Submitted by
anonymous
-
8 years ago
1
Unuseful names
ECMAScript (JavaScript)
no description available
Submitted by
Moayad
-
8 years ago
1
Match any line that starts with '[' and ends with ']'
PCRE (PHP <7.3)
Match any line that starts with '[' and ends with ']'
Submitted by
anonymous
-
8 years ago
1
Find particular punctuation
ECMAScript (JavaScript)
This regex find punctuation like "!", "!!!", "?", "???", "!?", "!!!???" and unlimited time repeated "!" and "?"
Submitted by
Ivijan-Stefan Stipic
-
8 years ago
1
Match Time in either 24Hr or 12Hr format
PCRE (PHP <7.3)
Matches a time in either 25Hr or 12Hr format. Seconds are optional for either format.
Submitted by
anonymous
-
8 years ago
1
Version number validation
PCRE (PHP <7.3)
E.g. android version name or ios bundle id validation
Submitted by
Paldom
-
8 years ago
1
dick detector
PCRE (PHP <7.3)
detect 8=D regex
Submitted by
anonymous
-
8 years ago
1
RFC 3986 IPv4 Validation
PCRE (PHP <7.3)
IPv4 Validation to RFC 3986 found at https://tools.ietf.org/html/rfc3986#section-1.1.1.
Submitted by
anonymous
-
8 years ago
1
Android package name
PCRE (PHP <7.3)
Validation of android package names. Read more
Submitted by
Paldom
-
8 years ago
1
Domain validation regex suitable for user input
Golang
This regexp can be used to validate domain names in Golang. While it cannot enforce the 253 character limit (with optional trailing period not included) that can be easily done by a simple len(domain) <= 253 check as well. This can be used as-is in other languages, even with RE2 regex engine. If po...
Submitted by
Alexander Dupuy
-
5 years ago
1
Return XML tag where attribute value equals X
PCRE (PHP <7.3)
Return XML tag where attribute value equals X
Submitted by
anonymous
-
8 years ago
1
Get the name of the image
PCRE (PHP <7.3)
This regex will be getting the name of the image source: data/products/cocacola/logo_new_version.jpg match: logo_new_version It will be returned logo_new_version on image index...
Submitted by
strubloid
-
8 years ago
1
Regrex email wiki
ECMAScript (JavaScript)
Length of email address is an industry standard, lady "The format of email addresses is local-part@domain where the local part may be up to 64 characters long and the domain may have a maximum of 255 characters[2]—but the maximum of 256-character length of a forward or reverse path restricts the ent...
Submitted by
anonymous
-
8 years ago
1
Extract URL, FTP, Mailto
ECMAScript (JavaScript)
extract url such as http, https:, ftp and mailto from a string
Submitted by
Kumar Sundaram
-
8 years ago
1
Months Regex
ECMAScript (JavaScript)
For Month Verification Works for January / Jan / Jan.
Submitted by
F0123X
-
8 years ago
1
...
228
229
230
231
232
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(
\+
7
|
\+
8
|
7
|
8
)*
(
9
)+
(
[
0
-
9
]
){9}
)
$
/
gm
Open regex in editor
Description
russian mobile phone with or without +7/7/8/+8 and started with 9 after.
Submitted by
hprnv
-
4 years ago
(Last modified 4 years ago)