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,000 community submitted regex patterns...
0
Matches MM/DD/YYYY for the years 1800 through 2099
PCRE2 (PHP >=7.3)
Source: https://stackoverflow.com/questions/8647893/regular-expression-leap-years-and-more Seems to be valid for 1800 through 2099. Requires leading zeros. Matches MM/DD/YYYY format only.
Submitted by
Andrew Macheret
-
2 years ago
0
Removing port number from URL
ECMAScript (JavaScript)
Find port number and remove it from URL
Submitted by
M Rivas
-
2 years ago
0
Crime List Fixer
PCRE2 (PHP >=7.3)
Final step in cleaning up some bad links
Submitted by
anonymous
-
2 years ago
-2
Parsing result of SQL Server version (SELECT @@VERSION)
.NET 7.0 (C#)
Parses MS SQL Server version returned from executing SELECT @@version
Submitted by
M Rivas
-
2 years ago
0
match tree output
Python
replace tree-like intandents to any others like hashtags or spaces
Submitted by
anonymous
-
2 years ago
0
Azure Firewall Nat traffic
PCRE2 (PHP >=7.3)
Azure Firewall Nat traffic
Submitted by
anonymous
-
2 years ago
0
Azure Firewall traffic Logs
PCRE2 (PHP >=7.3)
Azure Firewall traffic Logs
Submitted by
anonymous
-
2 years ago
0
service selector parser
ECMAScript (JavaScript)
HV Platform
Submitted by
anonymous
-
2 years ago
0
CPF
ECMAScript (JavaScript)
Regex para encontrar um CPF no formato: 999.999.999-99
Submitted by
@rafaelteruyuki
-
2 years ago
(Last modified 2 years ago)
0
CEP
ECMAScript (JavaScript)
Match Brazilian zipcode pattern (CEP): 99999-999
Submitted by
@rafaelteruyuki
-
2 years ago
(Last modified 2 years ago)
0
Telefone fixo com DDD
ECMAScript (JavaScript)
Matches the pattern (99) 999-999
Submitted by
@rafaelteruyuki
-
2 years ago
(Last modified 2 years ago)
0
Data por extenso
ECMAScript (JavaScript)
Data por extenso
Submitted by
@rafaelteruyuki
-
2 years ago
(Last modified 2 years ago)
0
2 parameters split by comma or arbitrary whitespace
Python
title
Submitted by
Sam Wagenaar
-
2 years ago
0
Assembler Instruction
Python
Match double-argument assembler instructions, extracting opcode, operand_src, and operand_dst
Submitted by
Sam Wagenaar
-
2 years ago
0
Function Call
PCRE2 (PHP >=7.3)
Identify the functional call in a stack trace
Submitted by
anonymous
-
2 years ago
0
IPv6 address validation
PCRE2 (PHP >=7.3)
address validation from the first two segments of an IPv6 address
Submitted by
@unblog
-
2 years ago
0
IPv4 address validation
PCRE2 (PHP >=7.3)
validation of IPv4 addresses
Submitted by
@unblog
-
2 years ago
0
Spring Boot default log parser regex
Python
Parses default spring boot logs and capture the following groups: i. ISO Timestamp, ii. Log Level, iii. Process ID (PID), iv. Thread name, v. Logger name, and vi. Log message
Submitted by
Snehangshu Bhattacharya
-
2 years ago
0
regex for gsub (combine value)
PCRE2 (PHP >=7.3)
xx
Submitted by
anonymous
-
2 years ago
0
Email teste
ECMAScript (JavaScript)
Email teste
Submitted by
@rafaelteruyuki
-
2 years ago
1
...
871
872
873
874
875
...
900
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
(
(
http
|
https
)
(
\:\/\/
)
(
(
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,2000}
)
(
\.
)
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,2000}
)
(
\.
)
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,16}
)
)
|
(
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,2000}
)
(
\.
)
(
[
a
-
zA
-
Z_
\-
0
-
9
]
{1,16}
)
)
)
(
(
(
[
\/
a
-
zA
-
Z
\
_
\-
%0
-
9
\.\?\=
]
{1,3000}
)
|
(
\/
)
|
(
)
)
)
)
/
Open regex in editor
Description
took me way to long
Submitted by
timmyRS
-
8 years ago