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. Click
here
to read more.
Community Patterns
Search among 13,880 community submitted regex patterns...
0
iso-8601-optional-milliseconds
PCRE2 (PHP >=7.3)
iso-8601-optional-milliseconds
Submitted by
anonymous
-
3 years ago
1
full url dissection
PCRE2 (PHP >=7.3)
any given url inside a text will be recognized and split into different groups: url (full url) scheme hostname (subdomain + domain + tld) port path...
Submitted by
ttschnz
-
3 years ago
0
SamAccountName
PCRE2 (PHP >=7.3)
Test for valid ActiveDirectory SamAccountName
Submitted by
gareth
-
3 years ago
0
Username Match
PCRE2 (PHP >=7.3)
Username check. started only [a-z] and stoped [a-z0-9]
Submitted by
anonymous
-
3 years ago
0
Semver
PCRE (PHP <7.3)
Public library
Submitted by
Masoud shokohi
-
3 years ago
0
Not ending with png
PCRE2 (PHP >=7.3)
Not ending with png
Submitted by
Archon
-
3 years ago
0
extract words separated by specific words
PCRE2 (PHP >=7.3)
Extract words separated by specific words
Submitted by
Archon
-
3 years ago
0
Match first letter of words for names
PCRE (PHP <7.3)
Also matches the first letter after ' or -
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Cron regex
PCRE2 (PHP >=7.3)
cron regular expression
Submitted by
anonymous
-
3 years ago
0
CFF-definitions.swh-identifier
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.swh-identifier value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
CFF-definitions.orcid
Python
Pattern for validating a definitions.orcid value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
CFF-definitions.reference.pmcid
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.reference.pmcid value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
CFF-definitions.reference.languages
PCRE2 (PHP >=7.3)
Pattern for validating definitions.reference.languages values in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
CFF-definitions.reference.issn
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.reference.issn value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
1
CFF-definitions.reference.isbn
PCRE2 (PHP >=7.3)
Pattern for validating a definitions.reference.isbn value in the Citation File Format (CFF)
Submitted by
Stephan Druskat, Jurriaan H. Spaaks
-
3 years ago
0
find matched words
PCRE2 (PHP >=7.3)
find matched words
Submitted by
fajar
-
3 years ago
0
CPF
PCRE (PHP <7.3)
Regra de validação de CPF.
Submitted by
anonymous
-
3 years ago
0
Match all movie titles containing a word ending in 'tes'
PCRE2 (PHP >=7.3)
Regex quiz in python. Match all movie titles containing a word ending in 'tes'
Submitted by
Teddy Petrou
-
3 years ago
1
Reasonable E-mail Validator v1.0
PCRE2 (PHP >=7.3)
Here is what I came up with for a 'reasonable' e-mail validator. Explanation @ https://geekalicious.org/d/90-validating-e-mail-addresses-with-regex-pcre
Submitted by
16BitMiker.com
-
3 years ago
0
Extract words start with _ and end with ;
PCRE2 (PHP >=7.3)
Extract words start with _ and end with ;
Submitted by
Ashish Shah
-
3 years ago
1
...
132
133
134
135
136
...
694
Find and extract email domain
5
Regular Expression
Python
r"
.
*
@
(
\S
+
)
"
Open regex in editor
Description
Find and extract email domain. Ex:
test@example.pt
-> extract 'example.pt'
Submitted by
Fnxk
-
8 years ago