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...
0
task6
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
lnav - vpxa log format
PCRE (PHP <7.3)
For the vpxa vmware log
Submitted by
anonymous
-
8 years ago
0
Detect non-ASCII characters
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Renaming Torrented Files
PCRE (PHP <7.3)
This regex will rename your torrented files (usually associated with RSS feeds, as that is the style used with this expression) to something more human friendly. If using on a \*nix os, I've noticed that you have to create all parent directories if using the "rename" script (I have not found any wa...
Submitted by
"TJ" Johnson of www.anakin.ca
-
8 years ago
(Last modified a year ago)
0
Australian Address components extraction
PCRE (PHP <7.3)
this extracts the unit number, street number, street name (including suburb), state and post code from a one line address.
Submitted by
Aran
-
8 years ago
0
中英文 特殊字符 30位
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
中英文 特殊字符 30位
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Escape apostrophe in JSON value
PCRE (PHP <7.3)
Escapes a single apostrophe in a json value, either before or after the ':'
Submitted by
anonymous
-
8 years ago
0
404-handler for EPiServer CMS
PCRE (PHP <7.3)
This is a regex to parse Excel data and to construct XML fragments to be used in an import file for 404-handler for EPiServer CMS.
Submitted by
anonymous
-
8 years ago
0
Number between 1 und 99
PCRE (PHP <7.3)
Number between 1 und 99
Submitted by
Andreas
-
8 years ago
0
March anything except
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Televox Appointment Reminder Outgoing File
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
parcel indentifier WA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
HR Mobile phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
CMS Logs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Commit GitLab
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
idc2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
ZWave command classes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Complex numbers supporting scientific notation and extensive error-checking
PCRE (PHP <7.3)
The regex verifies complex numbers in quite a few mixtures of different floating point representations, with extensive error checking - however, there may be edge cases which i haven't addressed, so feel free to put in more unit tests!
Submitted by
anonymous
-
8 years ago
0
Complex numbers supporting scientific notation and extensive error-checking
PCRE (PHP <7.3)
The regex verifies complex numbers in quite a few mixtures of different floating point representations, with extensive error checking - however, there may be edge cases which i haven't addressed, so feel free to put in more unit tests!
Submitted by
anonymous
-
8 years ago
1
...
37
38
39
40
41
...
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