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,020 community submitted regex patterns...
1
advent of code 2024 day3
Golang
regex of challenge
Submitted by
Marcell Martini
-
a day ago
(Last modified a day ago)
1
Advent of code 2024 day 3 step 2
PCRE2 (PHP >=7.3)
https://adventofcode.com/2024/day/3 I am wondering if there's a way to have mul do and don't appear under the same group
Submitted by
anonymous
-
a day ago
(Last modified a day ago)
1
Valid US State Abbreviations
PCRE2 (PHP >=7.3)
Unlike the community regexes that just check if the field is two alpha digits, this checks the content for the actual US state abbreviation.
Submitted by
NY4I
-
a day ago
1
ARRL Sections
PCRE2 (PHP >=7.3)
Finds valid ARRL sections
Submitted by
NY4I
-
a day ago
1
Parse Cabrillo Amateur Radio Contest QSO line (CQWW - Zone Exchange)
PCRE (PHP <7.3)
Parses the QSO line of the Amateur radio contest log file format called Cabrillo. This handles the CQ World-wide contest exchange format of RS[T] and a zone. It would be a starting point for other exchanges like ARRl Field Day or another one with spaces in the exchange. This does handle either a QSO...
Submitted by
NY4I
-
a day ago
(Last modified a day ago)
1
AOC 2024 D3 regex
Rust
The regex to be used in both parts of adventofcode.com 2024 day 3 puzzle
Submitted by
dragmine149
-
2 days ago
1
aws resource
Python
matches aws resources (arn:aws) strings
Submitted by
anonymous
-
2 days ago
1
lore accuraten't email parser fetcher detective
PCRE2 (PHP >=7.3)
this will run in any flavor but python in regex101. based on wikipedia bugs: local part can have more than 64 chars if we abuse . or other things
Submitted by
fbd_1
-
6 days ago
(Last modified 15 hours ago)
1
URI(or URL) parser
PCRE2 (PHP >=7.3)
A fully? complete Uniform Resource Identifier/Locator parser for all your need. it should support theses flavors with some changes or by using a different delimiter: PRCE2/PRCE, ECMAscript and should be able to support RUST, JAVA, GOLANG, .NET flavors with ease. for PYTHON, I don't really know.
Submitted by
fbd_1
-
6 days ago
(Last modified 15 hours ago)
1
Canadian Postal Code Validation
ECMAScript (JavaScript)
Postal code format validation based on Canada Post Addressing Guidelines Accepts optional space or hyphens
Submitted by
usrrname
-
6 days ago
(Last modified 6 days ago)
1
Extract links from text
PCRE2 (PHP >=7.3)
Extract links from text simple as that.
Submitted by
anonymous
-
8 days ago
1
Telephone number validation
PCRE2 (PHP >=7.3)
This validates any mobile or landline phone number in the world.
Submitted by
kdesilva
-
9 days ago
1
Repeated characters
PCRE2 (PHP >=7.3)
remove repeated characters from a string
Submitted by
Vishal Kumar
-
10 days ago
1
Regex for Matching Documentation Websites
ECMAScript (JavaScript)
Regex for Matching Documentation Websites This repository contains a powerful regular expression designed to match URLs that commonly point to documentation-related websites. The regex is optimized for flexibility, covering various terms and URL patterns. Regex Pattern ...
Submitted by
jgeofil
-
11 days ago
1
CIMTS business situation
PCRE2 (PHP >=7.3)
just playing around
Submitted by
Jeremiah
-
12 days ago
1
Any Unicode dash or its HTML escaped version
ECMAScript (JavaScript)
Match any of the weird dashes people figure out how to put in their data
Submitted by
anonymous
-
15 days ago
(Last modified 15 days ago)
1
simple email checker
PCRE2 (PHP >=7.3)
sees if it is a proper email or not
Submitted by
anonymous
-
15 days ago
1
Finite automata Definition
PCRE2 (PHP >=7.3)
Parses and groups elements inside the definition of a finite automaton, defined by the following backus naur form state ::= [a-zA-Z]+ set_of_final_states ::= "final states" = {state} simbol ::= [a-zA-Z]...
Submitted by
viktorashi
-
16 days ago
1
Finite automata definition
PCRE2 (PHP >=7.3)
parses and groups elements inside the definition of a finite automaton, defined by the following backus naur form state ::= [a-zA-Z]+ set_of_final_states ::= "final states" = {state} simbol ::= [a-zA-Z]...
Submitted by
anonymous
-
16 days ago
1
Set of Finite Automata final states
PCRE2 (PHP >=7.3)
it parses and groups the final states of a finate automaton
Submitted by
viktorashi copil borfashi
-
16 days ago
1
2
3
...
901
Community Library Entry
0
Regular Expression
Python
r"
(?:
(?P<Day1>
\d
{1,2}
)
(?:
\W
*
(?P<Month1>
[
A
-
Z
]
[
a
-
z
]
*
\b
)
)
|
(?:
(?P<Month2>
[
A
-
Z
]
[
a
-
z
]
*
\b
)
\W
*
)
(?:
(?P<Day2>
\d
{1,2}
)
(?:
\b
|
th
|
st
|
nd
)
)?
|
(?P<Month3>
\d
{1,2}
)
\W
+
(?P<Day3>
\d
{1,2}
)
|
(?P<Month4>
\d
{1,2}
)
)?
\W
+
?
(?P<Year>
\d
{2,4}
(?=
$
|
;
)
)
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago