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...
1
prevent double zeros
ECMAScript (JavaScript)
prvent double zeros also decimals
Submitted by
bilal
-
2 hours ago
1
OBprefix
ECMAScript (JavaScript)
Frequently-used prefix regex expressions without quote form in Obsidian plugins.
Submitted by
anonymous
-
20 hours ago
(Last modified 20 hours ago)
1
quote-OBprefix
ECMAScript (JavaScript)
Frequently-used prefix regex expressions with quote form in Obsidian plugins.
Submitted by
YaoYYoung
-
20 hours ago
(Last modified 20 hours ago)
1
Imiona i nazwiska
PCRE2 (PHP >=7.3)
Imiona i nazwiska
Submitted by
anonymous
-
2 days ago
1
Paragraph Delimiter Counter (Unicode-Aware)
.NET 7.0 (C#)
Finds all paragraphs in the input text, where a paragraph is defined as any occurrence of a non-whitespace character immediately following any of the following and any other preceding whitespace: 2 or more consecutive CRLF sequences 2 or more consecutive CR characters 2 or more consecutive LF cha...
Submitted by
dodexahedron
-
6 days ago
(Last modified 6 days ago)
1
advent of code 2024 day3
Golang
regex of challenge
Submitted by
Marcell Martini
-
7 days ago
(Last modified 6 days 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
-
8 days ago
(Last modified 8 days 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
-
8 days ago
1
ARRL Sections
PCRE2 (PHP >=7.3)
Finds valid ARRL sections
Submitted by
NY4I
-
8 days 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
-
8 days ago
(Last modified 8 days 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
-
8 days ago
1
aws resource
Python
matches aws resources (arn:aws) strings
Submitted by
anonymous
-
9 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
-
12 days ago
(Last modified 6 days 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
-
12 days ago
(Last modified 7 days 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
-
13 days ago
(Last modified 13 days ago)
1
Extract links from text
PCRE2 (PHP >=7.3)
Extract links from text simple as that.
Submitted by
anonymous
-
14 days ago
1
Telephone number validation
PCRE2 (PHP >=7.3)
This validates any mobile or landline phone number in the world.
Submitted by
kdesilva
-
16 days ago
1
Repeated characters
PCRE2 (PHP >=7.3)
remove repeated characters from a string
Submitted by
Vishal Kumar
-
16 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
-
17 days ago
1
CIMTS business situation
PCRE2 (PHP >=7.3)
just playing around
Submitted by
Jeremiah
-
18 days ago
1
2
3
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
\A^
(
(
[
0
-
9
]
{2}
\-
[
0
-
9
]
{2,5}
$
)
\z
)
|
(
PW
(
\-
)?
(
GM1
|
PRA
|
JDC
)?
\-
(
[
0
-
9
]
{0,5}
)
(
[
EFG
]
)?
(
LG
)?
(
[
0
-
9
]
{2,3}
)?
(
[
MF
]
)?
(
\-
)?
(
NOPI
)?
(
PL
)?
(
[
V
]
{0,1}
PI
)?
(
T
)?
(
[
0
-
9
]
{4}
-
[
0
-
9
]
{2}
)?
)?
$
/
Open regex in editor
Description
either 99-99 or one looks more liek the OFA ones
Submitted by
anonymous
-
9 years ago