Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 13,720 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password (Numeric, Special Char, Uppercase, Lowercase)
PCRE2 (PHP >=7.3)
Password Regex with minimum contain one Numeric, Special Char, Uppercase, Lowercase
Submitted by
yvnt
-
6 months ago
2023-05-26 01:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex range date
PCRE2 (PHP >=7.3)
\b((?:19|20)\d{2})-(0[1-9]|1[0-2])-(0[1-9]|12|3[01])\b
Submitted by
Ziuzhang
-
6 months ago
2023-05-26 08:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular expression Regix for Iranian mobile phone numbers
PCRE2 (PHP >=7.3)
Regular expression Regix for Iranian mobile phone numbers
Submitted by
anonymous
-
6 months ago
2023-05-26 15:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
strip host port
PCRE (PHP <7.3)
removes port number from URL
Submitted by
pc
-
6 months ago
2023-05-26 15:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
List of lists of numbers (no leading zeros)
Python
List of lists of numbers (no leading zeros)
Submitted by
anonymous
-
6 months ago
2023-05-26 19:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
shift_factor
Python
extracting constraint id from composed column header
Submitted by
Dario Romero
-
6 months ago
2023-05-26 20:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
exclude square brackets
PCRE2 (PHP >=7.3)
exclude square brackets
Submitted by
tarek
-
6 months ago
2023-05-28 11:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex for flight policies
PCRE2 (PHP >=7.3)
'nls__Cancellation permitted 03 Hrs before scheduled departure __nls Within 03-72 hrs INR 3,500 or 100% of airfare charge (whichever is lower) nls Before 72 hrs INR 3,000 or 100% of airfare charge (whichever is lower)' this is my string I want everything between nls and nls or nls and INR
Submitted by
anonymous
-
6 months ago
2023-05-29 06:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
入门学习
PCRE2 (PHP >=7.3)
。
Submitted by
anonymous
-
6 months ago
2023-05-29 13:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IIC++ Script Parsing Regex
PCRE2 (PHP >=7.3)
Regex for parsing IIC++ script.
Submitted by
Vu Tung Lam
-
6 months ago
2023-05-30 06:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Estrazione numeri scheda mail generali
PCRE2 (PHP >=7.3)
Come da titolo
Submitted by
anonymous
-
6 months ago
2023-05-30 11:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Author cite
Python
Get author names from shitty import
Submitted by
anonymous
-
6 months ago
2023-05-30 13:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Codegolf stay away from zero
PCRE2 (PHP >=7.3)
Codegolf submission
Submitted by
PlaceReporter99
-
6 months ago
2023-05-30 13:41
(Last modified 6 months ago)
2023-05-30 13:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Are* Device
PCRE2 (PHP >=7.3)
Device model Extraction from our client Are*
Submitted by
anonymous
-
6 months ago
2023-05-30 19:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Are* Device (iOS)
PCRE2 (PHP >=7.3)
OS version of the iPhone devices of our client Are*
Submitted by
anonymous
-
6 months ago
2023-05-30 19:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
silly radio
PCRE2 (PHP >=7.3)
nuh uh
Submitted by
anonymous
-
6 months ago
2023-05-30 23:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
White spaces between two white spaces.
PCRE2 (PHP >=7.3)
White spaces between two white spaces.
Submitted by
jrjmm
-
6 months ago
2023-05-31 01:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
google video 域名
PCRE2 (PHP >=7.3)
google video 域名
Submitted by
anonymous
-
6 months ago
2023-05-31 02:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
chit_kaung_song_names
Python
Extract Singer Chit Kaung's song names in Myanmar + English
Submitted by
paing
-
6 months ago
2023-05-31 06:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RegEx, lower case letters and numbers, with exact length of 6
PCRE2 (PHP >=7.3)
StackOverflow RegEx, lower case letters and numbers, with exact length of 6 RegEx without boundary (1st try) [a-z0-9]{6} RegEx with boundary (solution) \b[a-z0-9]{6}\b
Submitted by
Nicolas Karg
-
6 months ago
2023-05-31 08:37
1
...
678
679
680
681
682
683
684
...
686
匹配中文数字,用于逆向文本标准化
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
(
[
a
-
z
]
\s
*
)?
(
(
[
零幺一二两三四五六七八九十百千万点比
]
|
[
零一二三四五六七八九十
]
[
]
|
(?<=
[
一二两三四五六七八九十
]
)
[
年月日号
]
|
(
分之
)
)+
(
(?<=
[
一二两三四五六七八九十
]
)
[
a
-
zA
-
Z年月日号个只分万亿秒
]
|
(?<=
[
一二两三四五六七八九十
]
\s
)
[
a
-
zA
-
Z
]
)?
(?(1)
|
(?(5)
|
(
[
零幺一二两三四五六七八九十百千万亿点比
]
|
(
分之
)
)
)+
)
)
"
xig
Open regex in editor
Description
Loading markdown...
Submitted by
HaujetZhao
-
6 months ago
2023-05-31 13:32