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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 17,600 community submitted regex patterns...
1
Music Chord
PCRE (PHP <7.3)
Find Music Chord
Submitted by
Mins
-
9 years ago
1
Date extractor
ECMAScript (JavaScript)
Substitutes a group of dates by its information and captures the date information. Also allows fooled dates. (2015-02-30, 2015-03-32 for example)
Submitted by
luis140219 on GitHub
-
9 years ago
1
Some OR regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Date and time capturer
PCRE (PHP <7.3)
Works for the Julian calendar, dates between 0000-01-01 and 9999-12-31. Includes my birth date in the 4th example.
Submitted by
luis140219 on GitHub
-
9 years ago
1
Parser
ECMAScript (JavaScript)
Need everything inside this as separate variable :)
Submitted by
anonymous
-
9 years ago
1
URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Window Spacer type
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Long slovak date with the "dd. mmmm yyy" format
Python
Match a slovak date following the "dd. mmmm yyy" format.
Submitted by
Tantale
-
9 years ago
1
Bulgarian date "dd mmmm yyyy" format
Python
Parse a bulgarian date following the "dd mmmm yyyy" format.
Submitted by
Tantale
-
9 years ago
1
Regexp haus
PCRE (PHP <7.3)
Ejemplo para parsear direcciones de Haus
Submitted by
Leo
-
9 years ago
1
How to get various values within a pipe delimited string
PCRE (PHP <7.3)
We have a pipe delimited text file and each new record is separated by a CRLF. Each record has a fixed number of pipes, but not every column or field is valued, so there may be 2 or more pipes together. Is there a way to write a regex to parse out the third or fifth value? Many thanks in advance.
Submitted by
Jon
-
9 years ago
1
Chords
ECMAScript (JavaScript)
Expression to match a large amount of possible musical chords. From what I understand from musicians, the number of chords is basically infinite, but you will still find a certain scope being used freuently.
Submitted by
A=B
-
9 years ago
1
Find a select or select top in a query
ECMAScript (JavaScript)
Some times we need replace de first select in a query to another. In my case i want replace to "Select top 1". With that a can replace any select to select top 1.
Submitted by
Diego Troitiño
-
9 years ago
1
Regex
PCRE (PHP <7.3)
Test
Submitted by
anonymous
-
9 years ago
1
http://stackoverflow.com/questions/30405364
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
extract values inside <![CDATA[...]]
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Wyrażenie sprawdzające wiek od 0 do 200
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Thai Name match
PCRE (PHP <7.3)
no description available
Submitted by
itpcc
-
9 years ago
1
number separator positions
ECMAScript (JavaScript)
finds the positions in a number to be replaced with a thousands separator, e.g. 12345 => 12`345
Submitted by
anonymous
-
9 years ago
1
t4
ECMAScript (JavaScript)
43t
Submitted by
34t
-
9 years ago
1
...
599
600
601
602
603
...
880
URL
1
Regular Expression
PCRE (PHP <7.3)
/
(
http
|
https
)
\:\/\/
(?:
(
.
+
?
)
(?:
\:
(
.
+
?
)
)?
\@
)?
(
(?:
[
\w
-
]
+
\.
)+
)
(
[
A
-
Za
-
z0
-
9
]
+
)
(?:
\:
(
\d
{2,5}
)
)?
(
(?:
\/
[
\w
-%.
]
*
)+
)?
(
\?
(?:
[
\w
-%&="'+,
]
+
)?
)?
(
\#
(?:
[^
#
]
+
)?
)?
/
Open regex in editor
Description
Gets all parts of URL including port, username, password, fragment, query, and path
Submitted by
Vihan Bhargava
-
9 years ago