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
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
-
7 days ago
(Last modified 7 days ago)
1
Imiona i nazwiska
PCRE2 (PHP >=7.3)
Imiona i nazwiska
Submitted by
anonymous
-
2 days ago
1
quote-OBprefix
ECMAScript (JavaScript)
Frequently-used prefix regex expressions with quote form in Obsidian plugins.
Submitted by
YaoYYoung
-
a day ago
(Last modified a day ago)
1
OBprefix
ECMAScript (JavaScript)
Frequently-used prefix regex expressions without quote form in Obsidian plugins.
Submitted by
anonymous
-
a day ago
(Last modified a day ago)
1
prevent double zeros
ECMAScript (JavaScript)
prvent double zeros also decimals
Submitted by
bilal
-
15 hours ago
1
Parse EPICS Substitution files
PCRE2 (PHP >=7.3)
Extracts the file name and substitution pattern for each entry in an EPICS substitution file. See https://docs.epics-controls.org/projects/base/en/latest/msi.html#dbloadtemplate-format for a description of the file format being parsed
Submitted by
Giles Knap
-
12 hours ago
2
MIME type verification
PCRE (PHP <7.3)
See http://tools.ietf.org/html/rfc2045#section-5.1
Submitted by
Erin Millard
-
12 years ago
2
js function test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
12 years ago
2
Basic Phone Number Verification
PCRE (PHP <7.3)
Verifies a phone number
Submitted by
anonymous
-
11 years ago
2
Get Currency SYMBOL/CODE
PCRE (PHP <7.3)
no description available
Submitted by
Ka.
-
11 years ago
2
Hello world example
PCRE (PHP <7.3)
no description available
Submitted by
Fedir RYKHTIK
-
11 years ago
2
takie
PCRE (PHP <7.3)
no description available
Submitted by
sdfsdfdsf
-
11 years ago
2
Error in Refex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
2
hghdgh
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
2
sample
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
2
Split Date
PCRE (PHP <7.3)
no description available
Submitted by
Arun Kumar Sekar
-
11 years ago
2
Get dynamic parameters from an URL
PCRE (PHP <7.3)
Gets the parameters (how many you want) from a url and organize into groups
Submitted by
Caio Oliveira
-
11 years ago
2
SRT (SubRip) Parser
PCRE (PHP <7.3)
Matches id, timecode and text for multiple subtitles. Make sure the source ends with a blank line to capture the last subtitle.
Submitted by
Fergo
-
11 years ago
2
US Postal Code
ECMAScript (JavaScript)
refactor
Submitted by
jay johnson
-
11 years ago
2
code bracket parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
...
855
856
857
858
859
...
902
Community Library Entry
2
Regular Expression
ECMAScript (JavaScript)
/
(?=
.
*
?
\d
{3}
(
|
-
|
.
)?
\d
{4}
)
(
(?:
\+
?
(?:
1
)
(?:
\1
|
\s
*
?
)
)?
(?:
(?:
\d
{3}
\s
*
?
)
|
(?:
\(
(?:
\d
{3}
)
\)
\s
*
?
)
)
\1
?
(?:
\d
{3}
)
\1
?
(?:
\d
{4}
)
(?:
\s
*
?
(?:
#
|
(?:
ext
\.
?
)
)
(?:
\d
{1,5}
)
)?
)
\b
/
gi
Open regex in editor
Description
Match phone number with extensions or not
Submitted by
Mélissa Dumont
-
10 years ago