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...
2
Find scripts or css URIs
ECMAScript (JavaScript)
Given script or link tags, find and extracts URIs, excluding the double quotes
Submitted by
Rodrigo Kaveski
-
10 years ago
2
Filtrar inicio string
PCRE (PHP <7.3)
Filtrar inicio da string por BRN ou 201
Submitted by
Leandro
-
10 years ago
1
German ZIP Validation
ECMAScript (JavaScript)
Validates German ZIP codes
Submitted by
wehmoen
-
10 years ago
1
Timecode
Python
Regex to match standard timecode format.
Submitted by
Travis
-
10 years ago
2
Check if the title ends in is alid or not in java using regex
PCRE (PHP <7.3)
testing patterns http://stackoverflow.com/questions/30751885/check-if-a-string-ends-in-is-valid-or-not-in-java-using-regex
Submitted by
Sriharsha
-
10 years ago
-2
Host and domains
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Digit
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2
Parse "ipconfig /all" output and grab all MAC Adresses
PCRE (PHP <7.3)
Parse "ipconfig /all" output and grab all MAc Adresses.
Submitted by
j0inty
-
10 years ago
1
End of line - SJava
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
XML 1.0 dateTime values
Python
dateTime type matching regex for XML 1.0
Submitted by
DervishD
-
10 years ago
1
Test BigDecimal formatter
ECMAScript (JavaScript)
no description available
Submitted by
Wally
-
10 years ago
0
extract sql statements from sql profiler trace
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
composer package
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
CSV parsing
PCRE (PHP <7.3)
matches the exact fields of CSV files supports: qouted fields quoted fields containing commas, doubble quoutes, and newlines empty fields empty records arbitrary white space in, and outside quoted fields
Submitted by
Austin
-
10 years ago
-1
date format for year 2000 above
Python
no description available
Submitted by
anonymous
-
10 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
-
10 years ago
-2
IPv4
Python
allows for all legal IPv4 addresses
Submitted by
anonymous
-
9 years ago
1
Apache Access Log pattern
Python
Apache Web server log file format following the standard
Submitted by
Basil Tungekar
-
9 years ago
1
Error Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Address email
ECMAScript (JavaScript)
no description available
Submitted by
JS
-
9 years ago
1
...
46
47
48
49
50
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(?(DEFINE)
(?<addr_spec>
(?&local_part)
@
(?&domain)
)
(?<local_part>
(?&dot_atom)
|
(?"ed_string)
|
(?&obs_local_part)
)
(?<domain>
(?&dot_atom)
|
(?&domain_literal)
|
(?&obs_domain)
)
(?<domain_literal>
(?&CFWS)
?
\[
(?:
(?&FWS)
?
(?&dtext)
)*
(?&FWS)
?
\]
(?&CFWS)
?
)
(?<dtext>
[
\x21-\x5a
]
|
[
\x5e-\x7e
]
|
(?&obs_dtext)
)
(?<quoted_pair>
\\
(?:
(?&VCHAR)
|
(?&WSP)
)
|
(?&obs_qp)
)
(?<dot_atom>
(?&CFWS)
?
(?&dot_atom_text)
(?&CFWS)
?
)
(?<dot_atom_text>
(?&atext)
(?:
\.
(?&atext)
)*
)
(?<atext>
[
a
-
zA
-
Z0
-
9!#$%&'*+
\/
=?^_`{|}~-
]
+
)
(?<atom>
(?&CFWS)
?
(?&atext)
(?&CFWS)
?
)
(?<word>
(?&atom)
|
(?"ed_string)
)
(?<quoted_string>
(?&CFWS)
?
"
(?:
(?&FWS)
?
(?&qcontent)
)*
(?&FWS)
?
"
(?&CFWS)
?
)
(?<qcontent>
(?&qtext)
|
(?"ed_pair)
)
(?<qtext>
\x21
|
[
\x23-\x5b
]
|
[
\x5d-\x7e
]
|
(?&obs_qtext)
)
#
comments
and
whitespace
(?<FWS>
(?:
(?&WSP)
*
\r\n
)?
(?&WSP)
+
|
(?&obs_FWS)
)
(?<CFWS>
(?:
(?&FWS)
?
(?&comment)
)+
(?&FWS)
?
|
(?&FWS)
)
(?<comment>
\(
(?:
(?&FWS)
?
(?&ccontent)
)*
(?&FWS)
?
\)
)
(?<ccontent>
(?&ctext)
|
(?"ed_pair)
|
(?&comment)
)
(?<ctext>
[
\x21-\x27
]
|
[
\x2a-\x5b
]
|
[
\x5d-\x7e
]
|
(?&obs_ctext)
)