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...
2
remove texto entre <>
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Forum user validation
PCRE (PHP <7.3)
Pedro al DAMS
Submitted by
giacomo
-
9 years ago
1
hex string
PCRE (PHP <7.3)
match 00aabbcc... or 00:aa:bb:cc...
Submitted by
minji
-
9 years ago
3
Nombres 4 chiffres
PCRE (PHP <7.3)
Nombres 4 chifres
Submitted by
EA
-
9 years ago
1
Extract names of XML attributes that have values
PCRE (PHP <7.3)
Extracts attribute names from an XML file and presents them as a simple list. Affects only the attributes that have values. Ignores the "parent" attributes (that have no values but have nested attributes).
Submitted by
O.Khilkevych / D.Mrachkovsyi
-
9 years ago
2
IPv4 Validator
Python
no description available
Submitted by
dannyo
-
9 years ago
-3
Html Tags
ECMAScript (JavaScript)
Matches HTML structure
Submitted by
sagar
-
9 years ago
3
Shortcode parser
PCRE (PHP <7.3)
Parse shortcodes, its attributes values and html
Submitted by
anonymous
-
9 years ago
3
Arrow function to Normal function
ECMAScript (JavaScript)
Convert Arrow Function to Normal Function
Submitted by
Abhisek Pattnaik
-
9 years ago
2
Apache2 Access Log parsing
PCRE (PHP <7.3)
This breaks down an Apache2 access log into 9 parts. I use this for analyzing content in my webserver logs.
Submitted by
Kevin Loverde
-
9 years ago
1
YouTube ID Capture
PCRE (PHP <7.3)
Works on "*youtube.com" urls, as well as "youtu.be" urls
Submitted by
Lucanos
-
9 years ago
3
SemVer chain parsing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
POST OFFICE BOX
PCRE (PHP <7.3)
no description available
Submitted by
jmweekes
-
9 years ago
3
Camel case to space-separated string
PCRE (PHP <7.3)
Takes any camel case and returns it plus spaces.
Submitted by
Rougeware
-
9 years ago
3
BOOLEAN EXPRESSION WITH BRACKETS MATCHER
PCRE (PHP <7.3)
comapre simbols used just !=, ==, =, beacose of task keyword "not" can be used only before leftside value beacose of task
Submitted by
Ilya Filisteev
-
9 years ago
1
MM-DD-YYYY - Javascript Date with some validation
ECMAScript (JavaScript)
This is a regular expression for date in javascript. It validates the month between 01-12 (double digits only). It validates the day between 01-31 (double digits only). And enforces 4 digit year (no validation for range).
Submitted by
Andrew Leonenko
-
9 years ago
3
ln -l linux parse
PCRE (PHP <7.3)
parse linux ln -l output command
Submitted by
guignol95
-
9 years ago
1
regex words
PCRE (PHP <7.3)
get all words related to regex
Submitted by
anonymous
-
9 years ago
3
yyyy-MM-dd hh:MM
ECMAScript (JavaScript)
date format for "yyyy-MM-dd hh:MM" valid strict model.
Submitted by
image72
-
9 years ago
1
Web page URL
PCRE (PHP <7.3)
Validates an URL of a web page
Submitted by
Heinrich Reimer
-
9 years ago
1
...
30
31
32
33
34
...
902
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
^
(?<ROYAL_FLUSH>
(
A
)
(
.
)
K
\3
Q
\3
J
\3
T
\3
)
|
(?<STRAIGHT_FLUSH>
(
K
)
(
.
)
Q
\6
J
\6
T
\6
9
\6
|
(
Q
)
(
.
)
J
\8
T
\8
9
\8
8
\8
|
(
J
)
(
.
)
T
\10
9
\10
8
\10
7
\10
|
(
T
)
(
.
)
9
\12
8
\12
7
\12
6
\12
|
(
9
)
(
.
)
8
\14
7
\14
6
\14
5
\14
|
(
8
)
(
.
)
7
\16
6
\16
5
\16
4
\16
|
(
7
)
(
.
)
6
\18
5
\18
4
\18
3
\18
|
(
6
)
(
.
)
5
\20
4
\20
3
\20
2
\20
|
(
A
)
(
.
)
5
\22
4
\22
3
\22
2
\22
)
|
(?<FOUR_OF_A_KIND>
.
*
(
.
)
.
\24
.
\24
.
\24
..
*
)
|
(?<FULL_HOUSE>
(
.
)
.
\26
.
(
.
)
.
\27
.
\27
.
|
(
.
)
.
\28
.
\28
.
(
.
)
.
\29
.
)
|
(?<FLUSH>
(
.
)
(
.
)
.
\32
.
\32
.
\32
.
\32
)
|
(?<STRAIGHT>
(
A
)
.
K
.
Q
.
J
.
T
.
|
(
K
)
.
Q
.
J
.
T
.
9
.
|
(
Q
)
.
J
.
T
.
9
.
8
.
|
(
J
)
.
T
.
9
.
8
.
7
.
|
(
T
)
.
9
.
8
.
7
.
6
.
|
(
9
)
.
8
.
7
.
6
.
5
.
|
(
8
)
.
7
.
6
.
5
.
4
.
|
(
7
)
.
6
.
5
.
4
.
3
.
|
(
6
)
.
5
.
4
.
3
.
2
.
|
A
.
(
5
)
.
4
.
3
.
2
.
)
|
(?<THREE_OF_A_KIND>
.
*
(
.
)
.
\45
.
\45
..
*
)
|
(?<TWO_PAIR>
.
*
(
.
)
.
\47
.
.
*
(
.
)
.
\48
..
*
)
|
(?<PAIR>
.
*
(
.
)
.
\50
..
*
)
|
(?<HIGH_CARD>
(
.
)
.
*
)
$
/
gm
Open regex in editor
Description
Detect the poker hand from a sorted hand like this:
<Figure><Number> with the figures and numbers sorted in descending order
Submitted by
ZeNairolf
-
4 years ago