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
Character Match Replace + Capturing Group
PCRE (PHP <7.3)
s matches the character s literally (case sensitive) 1st Capturing Group (\d) \d matches a digit (equivalent to [0-9]) Global pattern flags...
Submitted by
Dan
-
4 years ago
0
Alpha Numeric with International characters
PCRE2 (PHP >=7.3)
Alpha Numeric with International characters with space This matches any letter, number, or space in most languages. [...] -> Match with conditions [a|b] -> Match 'a' OR 'b'...
Submitted by
Dinesh Swami
-
4 years ago
0
笔试
Java 8
笔试字符串检查regex
Submitted by
bgst009
-
4 years ago
1
LUXOMS [DOMOTICA] : retrieve 'elements' - S - switch
Python
LUXOMS [DOMOTICA] : 'elements' - S - switch In the LUXOM configuration there are just a few number of fields to use. Therefor by using an certain syntax, to add more features and possibilities to extract later by regular expression. ...
Submitted by
anonymous
-
4 years ago
0
surrounded by regex
PCRE2 (PHP >=7.3)
surround a string by $$ chards
Submitted by
anonymous
-
4 years ago
0
surrounded by regex
PCRE2 (PHP >=7.3)
surrounded by regex
Submitted by
anonymous
-
4 years ago
0
css special characters
PCRE2 (PHP >=7.3)
The only special characters I've come across are ., :, /. Tailwind CSS uses all of them.
Submitted by
anonymous
-
4 years ago
0
UK National Insurance Number
PCRE2 (PHP >=7.3)
UK National Insurance Number, NINO
Submitted by
anonymous
-
4 years ago
0
Practice email validation
ECMAScript (JavaScript)
Solves the practice problem from https://www.sitepoint.com/learn-regex/
Submitted by
Nhi Mai-Do
-
4 years ago
0
telephone validator from FCC
ECMAScript (JavaScript)
passes freecodecamp's telephone validator
Submitted by
anonymous
-
4 years ago
0
확장자 트릭.
PCRE2 (PHP >=7.3)
.
Submitted by
anonymous
-
4 years ago
0
Fund - Arriving in Kathmandu
Java 8
Simple regex for Softuni
Submitted by
anonymous
-
4 years ago
0
Math HTML tag
PCRE2 (PHP >=7.3)
text
Submitted by
anonymous
-
4 years ago
0
Verify Cambodian mobile phone number(柬埔寨手机号码正则)
PCRE (PHP <7.3)
国家:Cambodia 中文名称:柬埔寨 区域码:+855 手机号位数:8或9 号段:10-18 其他号段:31、38、60、61、66-71、76-78、80、81、83-89、90-93、95-99...
Submitted by
7kk
-
4 years ago
0
Verify Indian mobile number(印度手机号码正则)
PCRE (PHP <7.3)
国家:India 中文名称:印度 区域码:+91 手机号位数:10 号段:7503、7504、8000、900 ...
Submitted by
7kk
-
4 years ago
0
주피와의관계
PCRE2 (PHP >=7.3)
주피와의관계
Submitted by
anonymous
-
4 years ago
(Last modified 4 years ago)
0
senegal phone number regex
ECMAScript (JavaScript)
Check if the phone number is correct from sénégal
Submitted by
Me
-
4 years ago
0
피보험자명
PCRE2 (PHP >=7.3)
피보험자명
Submitted by
anonymous
-
4 years ago
(Last modified 4 years ago)
0
증권번호
PCRE2 (PHP >=7.3)
증권번호
Submitted by
anonymous
-
4 years ago
0
PAN Card
PCRE2 (PHP >=7.3)
PAn Card
Submitted by
anonymous
-
4 years ago
1
...
230
231
232
233
234
...
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