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,020 community submitted regex patterns...
10
money: either 0 or 2 dp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
10
entity
Python
no description available
Submitted by
anonymous
-
9 years ago
10
Valid Telephone Number
ECMAScript (JavaScript)
This regex validates varying types of telephone numbers.
Submitted by
Adam Recvlohe
-
9 years ago
10
Conventional Commits validation
Python
This regex prevents the writing of non-standard conventional commits. I'm available on my github
Submitted by
Krisque
-
3 years ago
(Last modified 3 years ago)
11
Address Check Validation
PCRE (PHP <7.3)
Check for true or false street address format
Submitted by
Dilip Borad
-
11 years ago
11
Date(Including Leap Year) YYYY-MM-DD hh:mm:ss
PCRE (PHP <7.3)
Validates DateTime of format YYYY-MM-DD hh:mm:ss including Leap Year
Submitted by
Madhan
-
11 years ago
11
UUID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
11
html color match: transparent, #fff, #123456, rgb, rgba, hsl, hsla
ECMAScript (JavaScript)
This may be useful or not to test whether a given string is a valid (more or less) html color value. It matches color values such as: #123 - short hex color value #123456 - hex color value rgb(255,255,0) - rgb color value rgba(255,255,0,1.0) - rgba color value hsl(360,100%,100%) - hsl color value...
Submitted by
grouch
-
10 years ago
11
Find Reddit Threads
Python
Simply searches for the thread-id in any kind of valid reddit-URL.
Submitted by
Mio
-
10 years ago
11
remove comments from php code
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
11
find all link(<a>) tags expect your links in href attribute
ECMAScript (JavaScript)
YourLink - not found AnotherLink - found
Submitted by
KoT
-
9 years ago
11
youtube url match
ECMAScript (JavaScript)
extract video id, index, play list id from youtube url
Submitted by
anonymous
-
9 years ago
11
Codice fiscale
PCRE (PHP <7.3)
Check "codice fiscale"
Submitted by
Luca
-
9 years ago
11
IPv4 Validator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
(Last modified a year ago)
12
Full name (Turkish)
ECMAScript (JavaScript)
Matches case insensitive first name, optional unlimited number of middle names and last name separated with space format. Replaced \w with explicit char range for Turkish support. (Äž accepted as first char not to over complex)
Submitted by
CKK
-
10 years ago
12
Remove Special Ascii Characters from unicode String
PCRE (PHP <7.3)
By Using this string you can just remove ascii special characters from a unicode string characters like ♥♥♥♥ ▓▒ and other non unicode letters.
Submitted by
Hummad Hassan
-
10 years ago
12
Full url parse, domain, path, params
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
12
Username with "_" "-"
ECMAScript (JavaScript)
no description available
Submitted by
Gianvy
-
9 years ago
13
PHP variable name
PCRE (PHP <7.3)
Valid PHP variable name as defined in the manual at http://php.net/manual/en/language.variables.basics.php
Submitted by
Erin Millard
-
12 years ago
13
regex101.com id grabber
PCRE (PHP <7.3)
grabs the ID for the regex101.com permalink to code
Submitted by
chris mccoy
-
10 years ago
1
...
896
897
898
899
900
901
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
^
(?=
(?<http>
(?:
https
?
:
\/\/
){1}
(?:
www
\.
)?
)?
)
(?
(?=
\k<http>
?
(?<ipaddr>
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
(?:
\:
\d
{1,5}
)?
)
)
\k<http>
?
\k<ipaddr>
(?:
\.
[
\w
]
{1,9}
)?
|
\k<http>
(?:
[
\w
]
\.
?
){1,255}
\.
[
\w
]
{1,9}
)
(?:
\/
.
*
)?
$
"
gm
Open regex in editor
Description
Can be used to validate on URL's.
Submitted by
anonymous
-
a year ago