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 3,560 community submitted regex patterns...
4
extract domain with port
ECMAScript (JavaScript)
no description available
Submitted by
yooresh
-
9 years ago
2
Removes script tags
ECMAScript (JavaScript)
no description available
Submitted by
ghs
-
9 years ago
4
Function Declaration / Expression
ECMAScript (JavaScript)
matches both function declarations and expressions in javascript. ex. function name () {...} || function () {}
Submitted by
Ja Superior
-
9 years ago
2
Parse gMail: Get name and email addresses
ECMAScript (JavaScript)
get names and email address seperated out from comma seperated string received from gMail api
Submitted by
anonymous
-
9 years ago
4
UK Postcode
ECMAScript (JavaScript)
no description available
Submitted by
msyed
-
9 years ago
4
Campos Decimais (pt_br)
ECMAScript (JavaScript)
Funciona para campos decimais para moeda nacional brasileira. Aceita números inteiros, separação por milhar e a separação decimal.
Submitted by
Murilo C. Cumerlatto
-
8 years ago
4
among us references
ECMAScript (JavaScript)
it detects among us references among us aming us mongus amogus sus...
Submitted by
h
-
3 years ago
(Last modified 3 years ago)
4
C# Regex Extract/Match Nested HTML Elements/Tags
.NET 7.0 (C#)
With this C# regex, you can easily match/Parse Nested HTML tags. Example input: ...
Submitted by
w4po
-
3 years ago
(Last modified a year ago)
3
YouTubeVideoUrl
ECMAScript (JavaScript)
YouTubeVideoUrl
Submitted by
EdwardKonovalov
-
2 years ago
(Last modified 2 years ago)
2
Error in Refex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
-2
non-negative integer
ECMAScript (JavaScript)
repeat ... refactor
Submitted by
jay johnson
-
11 years ago
0
Phone area code - prefix - number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
2
US Postal Code
ECMAScript (JavaScript)
refactor
Submitted by
jay johnson
-
11 years ago
0
adding space after (.) period and next word
ECMAScript (JavaScript)
Requirement was to check if there is space between . and next text and if not the then add space
Submitted by
Prajkta
-
11 years ago
1
12345
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-2
Regex to select text withing square brackets.
ECMAScript (JavaScript)
no description available
Submitted by
Dhrubajyoti Gogoi
-
10 years ago
1
from Google-Maps
ECMAScript (JavaScript)
results all street-adresses from http://maps.googleapis.com/maps/api/geocode/xml?sensor=false&address=
Submitted by
PierreSash
-
10 years ago
1
extract JavaScript function name (corrected for specials)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-3
Number
ECMAScript (JavaScript)
Gets all numbers in a string. This includes positive and negative numbers aswell as integers and floats. By: http://www.benlorantfy.com/
Submitted by
Ben
-
10 years ago
-2
Matching HTML attributes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
...
6
7
8
9
10
...
178
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