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,000 community submitted regex patterns...
2
Extract parts of a URL on Python
Python
Extract parts of a URL on Python
Submitted by
dixanms
-
3 years ago
1
Titanic Kaggle - Remove ticket prefix to get number
PCRE2 (PHP >=7.3)
Removes the prefix leaving just the ticket number
Submitted by
anonymous
-
3 years ago
5
Match any url in text or html (http, https)
PCRE2 (PHP >=7.3)
Match any url in text or html (http, https)
Submitted by
Jérémy Munsch
-
3 years ago
1
Telegram Markdown Escaping Backslashed asterisks
ECMAScript (JavaScript)
Telegram Markdown V2's bold (`) can be escaped by using \`. RegExp to validate it and get the actual contents inside.
Submitted by
dcdunkan
-
3 years ago
1
HTML body tokenize
PCRE2 (PHP >=7.3)
Tokenize before do other process. We can adapt to use for header tag.
Submitted by
Jakk
-
3 years ago
(Last modified 3 years ago)
1
Rick Roll
Java 8
Matches chorus of Never Going to Give You Up
Submitted by
Stephen Battista
-
3 years ago
1
just number and String length 30
PCRE2 (PHP >=7.3)
just number and String length 30
Submitted by
Pooya Parsa Dadashi(@datamweb)
-
3 years ago
(Last modified 3 years ago)
1
sha512 - letters and numbers, without special characters. length 512
PCRE2 (PHP >=7.3)
Just capital letters and numbers, without special characters. String length 512
Submitted by
Pooya Parsa Dadashi(@datamweb)
-
3 years ago
(Last modified 3 years ago)
1
order by field and direction
PCRE2 (PHP >=7.3)
order by field and direction
Submitted by
anonymous
-
3 years ago
1
Expresión regular para validar enlaces de videos embebidos de YouTube y Vimeo
PCRE2 (PHP >=7.3)
Detecta los patrones para enlaces de videos embebidos de YouTube y Vimeo
Submitted by
anonymous
-
3 years ago
1
Expresión regular para encontrar enlaces de video de Youtube y Vimeo
PCRE2 (PHP >=7.3)
Detecta los patrones similares a los enlaces de video de YouTube y Vimeo
Submitted by
anonymous
-
3 years ago
1
Decimal (with dot)
ECMAScript (JavaScript)
Decimal with a dot, if has a dot it needs a number following it
Submitted by
anonymous
-
3 years ago
1
Anything sorounded by " "
ECMAScript (JavaScript)
Match anything inside double quote string and set the first capture group with the content
Submitted by
anonymous
-
3 years ago
0
חיפוש דיבור המתחיל לפי קוד פותח קוד סוגר או משהו אחר
PCRE2 (PHP >=7.3)
חיפוש דיבור המתחיל על פי קוד פותח - למשל @20 וקוד סוגר למשל קוד @50 אבל אנחנו רוצים לתפוס רק את הטקסט שלו לא כולל הקודים כמו כן אנחנו רוצים שאם יש איזה שהוא תו מסויים אחר, הוא יחשב סוף דיבור למשל F5 או AF5
Submitted by
anonymous
-
3 years ago
0
ex1 pcd
Python
"(?PJan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (?P\d\d) (?P\d\d\d\d), (?P\w{7}), (?P.*), (?P\d.\d)"gm
Submitted by
sparaiso
-
3 years ago
0
NSW Residential Zip Code
PCRE2 (PHP >=7.3)
The convention is found on this: https://en.wikipedia.org/wiki/Postcodes_in_Australia Values accepted: 2000—2599 2619—2899 2921—2999
Submitted by
Minh Dang
-
3 years ago
0
URL
Python
Recognizing URLs
Submitted by
anonymous
-
3 years ago
0
Loan Amount
Python
Recognizing loan amount
Submitted by
anonymous
-
3 years ago
-2
Conventional Commits commit regex
PCRE2 (PHP >=7.3)
https://www.conventionalcommits.org/en/v1.0.0/
Submitted by
Michael Collins
-
3 years ago
0
Semantic Branch Names Regex
PCRE2 (PHP >=7.3)
https://www.conventionalcommits.org/en/v1.0.0/
Submitted by
Michael Collins
-
3 years ago
1
...
162
163
164
165
166
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?:
(?:
[
A
-
Za
-
z
]
{3,9}
:
?
:
\/\/
www
\.
?
)
|
(?:
[
A
-
Za
-
z
]
{3,9}
:
?
:
\/\/
)
)
(
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)?
/
ug
Open regex in editor
Description
Did in pkasko)
Submitted by
anonymous
-
6 years ago