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...
1
Specific Year Dates (Regular Expression)
Java 8
Here's a regular expression to handle a specific year in the different forms of dates: YYYY-MM-DD DD-MM-YYYY MM-DD-YYYY ...
Submitted by
loganmcampbell
-
3 years ago
1
Simple HTML to Markup
Python
converts HTML: This is hyperlink. You can click this. to Markup: This is hyperlink. You can click this. which renders like this: This is hyperlink. You can click this.
Submitted by
toryano0820
-
3 years ago
1
MyKad / Passport
PCRE2 (PHP >=7.3)
This allows only the specified characters to be a valid MyKad or Passport Number in Malaysia.
Submitted by
Munirul Haikal
-
3 years ago
1
Grabbing custom structure from markdown
PCRE2 (PHP >=7.3)
:)
Submitted by
anonymous
-
3 years ago
1
HTML注释
ECMAScript (JavaScript)
HTML注释
Submitted by
anonymous
-
3 years ago
1
password
ECMAScript (JavaScript)
Your password should include at least 8 characters, uppercase and lowercase letters, numbers and at least one special character.
Submitted by
Paveldev
-
3 years ago
1
Identify a web URL - non ftp
Python
From any text identify a web url. File or ftp urls are not a part of the regex.
Submitted by
wongz - https://stackoverflow.com/a/63022807/326835
-
3 years ago
1
same vowel start & end
PCRE2 (PHP >=7.3)
/^[aeiou].*[aeiou]$/
Submitted by
anonymous
-
3 years ago
1
Domain Validator
PCRE2 (PHP >=7.3)
Regex to validate domain/website
Submitted by
Amir hossein Karimi
-
3 years ago
1
Sign-In with Ethereum
ECMAScript (JavaScript)
This is the complete Sign-In with Ethereum RegExp implementation
Submitted by
anonymous
-
3 years ago
1
Telegram username link
Python
a pattern to detect telegram username link or tag
Submitted by
anonymous
-
3 years ago
1
Regular expression for capturing dates and date ranges.
Java 8
A proof of concept regex that captures dates and date ranges with a variety of separators. Works with both DMY and MDY, and if one is not needed, it can be easily deleted from the regex. The full variety of months needs to be implemented by the programmer themselves since developing it in regex101...
Submitted by
Matey Krastev
-
3 years ago
1
Get first move and depth from Stockfish output
PCRE2 (PHP >=7.3)
Stockfish output contains longer form containing the square of departure. Buggy with anything other than pawn.
Submitted by
Stockcat
-
3 years ago
1
PHP PDO debugDumpParams parse as sql.
PCRE2 (PHP >=7.3)
解析php pdo 的 debugDumpParams 输出的数据。
Submitted by
anonymous
-
3 years ago
1
phone regex
ECMAScript (JavaScript)
phone regex
Submitted by
antiai
-
3 years ago
1
refactoring
PCRE2 (PHP >=7.3)
for refactoring Kotlin tests
Submitted by
nikita.bols
-
3 years ago
(Last modified 3 years ago)
1
Extract strings between 2 delimiters
PCRE2 (PHP >=7.3)
Extract strings between a delimiter (",") or between a tabulation and a cr Example : toto@gmail.com,yoda@testmail.fr,foo@dugenou.com This expression will return bold e-mails
Submitted by
anonymous
-
3 years ago
1
RGB Colors in Hex Format: 3 or 6 Hexadecimal Digits
ECMAScript (JavaScript)
Matches against RGB (not to be confused with RGBa). Will match against any and all RGB Hexadecimal Formatted colors. Some example of the values this regular expression was created to match are: "#FFFFFF", "#FFF", "#ABCDEF", "#123456", "#18F", "#812" MUST USE THE 'i' FLAG (insensitive) Without the...
Submitted by
jD3V
-
3 years ago
(Last modified 3 years ago)
1
RGB 256 Color Format: Matches 24bit RGB Colors.
ECMAScript (JavaScript)
There are several ways to format 24bit RGB Colors, however, two of the formats are far more common in the wild than others. The 2 most common 24bit RGB formats are | FORMAT | Alt Name | Num Sys | | ------------------------ | -------------- | ------------ | | RGB Hex Format | HexColo...
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
提取步骤1
ECMAScript (JavaScript)
提取步骤1
Submitted by
liangchao
-
3 years ago
(Last modified 3 years ago)
1
...
269
270
271
272
273
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
0
-
9-_.,:;
+<>#´`"?!§°
\\
*()%$
\/
&=|Ø
]
{1,}
)
$
|
^
(
[
0
-
9.,k
]
{1,}
)
$
|
^
(
[
0
-
9
.,|
\-
]
{1,}
?
°C
)*
$
|
^
(
[
0
-
9
.,|
\-
"
\/
]
{1,}
?
x
?
)*
$
/
gm
Open regex in editor
Description
see
Submitted by
anonymous
-
3 years ago