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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 6,040 community submitted regex patterns...
3
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
-
2 years ago
3
YouTubeVideoUrl
ECMAScript (JavaScript)
YouTubeVideoUrl
Submitted by
EdwardKonovalov
-
a year ago
(Last modified a year ago)
3
Remove extra/useless python elements for GPT input.
PCRE2 (PHP >=7.3)
This RegEx removes unused elements such as inline comments and blank lines in python code. This will save you tokens and time when using GPT-3+ or ChatGPT to help code and debug.
Submitted by
LukeL
-
a year ago
(Last modified a year ago)
4
Match Brackets and anything inside
ECMAScript (JavaScript)
no description available
Submitted by
andreayang
-
11 years ago
4
Repeated words (JS)
ECMAScript (JavaScript)
no description available
Submitted by
paconaranjo
-
10 years ago
4
Capturing items from multiple lists using a single regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
4
url matching
ECMAScript (JavaScript)
supports all major protocols
Submitted by
matheus silva
-
9 years ago
4
Hibernate SQL Reductor
ECMAScript (JavaScript)
If you want to understand an SQL statement for Hibernate: this replaces the selected fields in an SQL statement generated by Hibernate by a shorthand, since you usually just care about the logic. E.g. it changes select foo0_.bla as bla1_3, foo0_.bar as bar1_3, foo0_.baz1_3 as baz1_3 from ... to sele...
Submitted by
Hans-Peter Stoerr www.stoerr.net
-
9 years ago
4
match brackets outside quotes
ECMAScript (JavaScript)
no description available
Submitted by
Jerry
-
9 years ago
4
url
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
4
Full e-mail validator
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
4
Find Lat/Long Coordinate pair regex
ECMAScript (JavaScript)
no description available
Submitted by
Mike
-
9 years ago
4
Typescript - /// <reference path="..."/> Expression
ECMAScript (JavaScript)
Finds Typescript's reference path syntax.
Submitted by
Lovelidge, Shawn
-
9 years ago
4
Currency Formater Accept , & .
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
4
Mobile phone russia
ECMAScript (JavaScript)
Submitted by
Johhny
-
9 years ago
4
vowel words
ECMAScript (JavaScript)
([!-\~]aeiou)
Submitted by
Ipsita Mohanty
-
8 years ago
4
find uncommented coffeescript console.logs
ECMAScript (JavaScript)
no description available
Submitted by
valiafetisov
-
8 years ago
4
extract domain with port
ECMAScript (JavaScript)
no description available
Submitted by
yooresh
-
8 years ago
4
Function Declaration / Expression
ECMAScript (JavaScript)
matches both function declarations and expressions in javascript. ex. function name () {...} || function () {}
Submitted by
Ja Superior
-
8 years ago
4
UK Postcode
ECMAScript (JavaScript)
no description available
Submitted by
msyed
-
8 years ago
1
...
296
297
298
299
300
...
302
validate password
0
Regular Expression
ECMAScript (JavaScript)
/
^
(?=
.
*
[
a
-
z
]
)
(?=
.
*
[
A
-
Z
]
)
(?=
.
*
\d
)
(?=
.
*
[
-+=|,!@#$%&*^?_.~/
\\
(){}[
\]
<>
]
)
[
A
-
Za
-
z
\d
-
+=|,!@#$%&*^?_.~/
\\
(){}[
\]
<>
]
{8,}
$
/
Open regex in editor
Description
no description available
Submitted by
blastz
-
3 years ago