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...
0
Time with AM & PM
PCRE2 (PHP >=7.3)
This is a re that can validate time with date with AM and PM
Submitted by
anonymous
-
2 years ago
0
Padrão - numeração de contrato CAIXA
ECMAScript (JavaScript)
teste
Submitted by
anonymous
-
2 years ago
0
Parse non-standard json like strings
PCRE2 (PHP >=7.3)
Parse non-standard json like strings
Submitted by
zhangtai
-
2 years ago
0
elasticsearch exception explain regex
Java 8
throw elasticsearch exception logger info, find exception type and reason field
Submitted by
jason
-
2 years ago
0
This regular expression matches one or more exclamation marks, with or without a space/newline character immediately following it.
PCRE2 (PHP >=7.3)
This regular expression matches one or more exclamation marks, with or without a space/newline character immediately following it.
Submitted by
anonymous
-
2 years ago
0
WIP detector
Python
Detect WIP strings in a git commit.
Submitted by
anonymous
-
2 years ago
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
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
1
...
550
551
552
553
554
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
\<
li
\>
(?:
\n
)*
(?:
.
*
)
(?:
\n
)*
\<\/
li
\>
)
/
gm
Open regex in editor
Description
this can be used to capture all li items in a text and then wrap them in a ul tag.
Submitted by
anonymous
-
6 years ago