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
Community Patterns
Search among 17,180 community submitted regex patterns...
9
Removing an XML Nodes namespace prefix from a XML string wit
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
9
Youtube ID match
PCRE (PHP <7.3)
This regex will match any Youtube video ID thrown at it and return one capturing group containing the ID.
Submitted by
Jacob Overgaard
-
10 years ago
9
Extract url GET parameters
PCRE (PHP <7.3)
Returns key/value pair of a url. Also works with google fonts which has additional information
Submitted by
anonymous
-
10 years ago
9
Fixo LDN CSP e SEM CSP
PCRE (PHP <7.3)
no description available
Submitted by
Marcos Müller
-
9 years ago
9
UUID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
9
English date in "dd mmmm yyyy" format
Python
Parse an English date following the "dd mmmm yyyy" format.
Submitted by
Tantale
-
9 years ago
9
If-Then-Else Conditionals
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
9
domain - host
Python
no description available
Submitted by
anonymous
-
9 years ago
9
only numbers
PCRE (PHP <7.3)
A string with only numbers in
Submitted by
Gotts
-
8 years ago
9
Letters, numbers and blank space
PCRE (PHP <7.3)
The following regular expression matches only letter a-z A-Z numbers 0-9 and a blank space for a given string.
Submitted by
Jordan Raychev
-
8 years ago
9
Fiddler raw body to PHP array
PCRE (PHP <7.3)
no description available
Submitted by
garsax
-
8 years ago
9
CSS Color Matcher
ECMAScript (JavaScript)
Pattern matching and extracting color code formats using RegEx. https://github.com/Kyza/color-regex/
Submitted by
Kyza
-
9 months ago
10
Just validate one sequence of
PCRE (PHP <7.3)
sdfs sdfs FLBREV00022230 dsfsdfs sdfsf FLBREV00022234 In this case is false
Submitted by
Fiipe
-
10 years ago
10
Strip Email ID from Name
PCRE (PHP <7.3)
Use this regex to select all characters up to the "" bracket. It works across multiple lines. You can get an email list with only the IDs. This is the pattern it matches: Alpha Person Step 1 (.*) [$ Step 2 [$.$] (.*) gives you aperson@whatever.org...
Submitted by
Jonathan Davidar
-
9 years ago
10
Find Reddit Threads
Python
Simply searches for the thread-id in any kind of valid reddit-URL.
Submitted by
Mio
-
9 years ago
10
MikroTik FireWall
PCRE (PHP <7.3)
Regex used in Splunk to extract fields from Mikrotik FW. NOTES: Mikrotik must be configured to use "BSD Syslog" format FW rules must add, as log prefix, the action: drop accep...
Submitted by
HappyIdeasMaker
-
9 years ago
10
money: either 0 or 2 dp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
10
entity
Python
no description available
Submitted by
anonymous
-
8 years ago
10
Valid Telephone Number
ECMAScript (JavaScript)
This regex validates varying types of telephone numbers.
Submitted by
Adam Recvlohe
-
8 years ago
10
best youtube id match ( iframe embed replace ready )
Recommended
PCRE (PHP <7.3)
MATCH ANY YOUTUBE ID author : mi-ca v1.0 – 2017.03.08 This Regex match any youtube url and grab the ID. Embed ready √ --...
Submitted by
mi-ca.ch
-
5 years ago
1
...
854
855
856
857
858
859
Date time Advanced
8
Regular Expression
PCRE (PHP <7.3)
/
(?<day>
0
[
1
-
9
]
|
1
[
0
-
9
]
|
2
[
0
-
9
]
|
3
[
01
]
)
.
(?<month>
0
[
1
-
9
]
|
1
[
012
]
)
.
(?<year>
[
0
-
9
]
{4}
)
(?:
(?<hour>
[
0
-
1
]
\d
|
2
[
0
-
3
]
)
:
(?<minute>
[
0
-
5
]
\d
)
:
(?<second>
[
0
-
5
]
\d
)
|)
/
Open regex in editor
Description
no description available
Submitted by
Mr.Neutro
-
10 years ago