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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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,140 community submitted regex patterns...
1
Find Days. Simple format
PCRE (PHP <7.3)
Given a string, finds the days spoken about within the string. (US Implementation)
Submitted by
anonymous
-
7 years ago
1
Perl search exclude tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
SELLER
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
loose email address regex (\S)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
url - extrakce hostname
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
Thai mobile phone
PCRE (PHP <7.3)
Start with 0 and the second character is 6|8|9 Thai mobile phone number up to 10
Submitted by
anonymous
-
7 years ago
1
get CN from LDAP directory entry
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 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
-
7 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
-
7 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
-
7 years ago
1
Version number validation
PCRE (PHP <7.3)
E.g. android version name or ios bundle id validation
Submitted by
Paldom
-
7 years ago
1
dick detector
PCRE (PHP <7.3)
detect 8=D regex
Submitted by
anonymous
-
7 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
-
7 years ago
1
Android package name
PCRE (PHP <7.3)
Validation of android package names. Read more
Submitted by
Paldom
-
7 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
-
4 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
-
7 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
-
7 years ago
1
Password minimum requirements
PCRE (PHP <7.3)
Password requirements (minimum length, character groups that must exist) can be easily validated AND extended using look-aheads.
Submitted by
OnlineCop
-
7 years ago
1
Floating Point number verifier and extractor with scientific notation support
PCRE (PHP <7.3)
The regex verifies floating point numbers in decimal or scientific notation with extensive error checking - however, there may be edge cases which i haven't addressed, so feel free to put in more unit tests!
Submitted by
Tamoghna Chowdhury
-
7 years ago
1
...
525
526
527
528
529
...
607
Simple Linux File Absolute Path Tester
4
Regular Expression
PCRE (PHP <7.3)
/
^
(
\/
[
\w
-
]
+
)+
(
.
[
a
-
zA
-
Z
]
+
?
)
$
/
Open regex in editor
Description
Match simple linux file absolute path as /usr/share/my-folder/helloworld.jpg
Submitted by
FLonpl6
-
10 years ago