Regular Expressions 101

Library entries

-1
javascript

DD/MM/YYYY

no description available
Submitted by nehakadam - 7 years ago
1
javascript

reg ex for http

https
Submitted by anonymous - 7 years ago
1
javascript

US Phone Number

The way I like it formatted
Submitted by @mattbontrager - 7 years ago
1
python

ISIS Checking

no description available
Submitted by anonymous - 7 years ago
1
python

Two digit search.

Trying to understand the two digit lookup.
Submitted by mburke05 - 7 years ago
1
python

Remove console.log() from javascript

no description available
Submitted by xXDGFXx - 7 years ago
0
javascript

Invoice Number

no description available
Submitted by Sebastian Proske - 7 years ago
2
javascript

file extension validation

no description available
Submitted by Lisa - 7 years ago
0
javascript

subdomain rewrite

no description available
Submitted by mackenzie starr - 7 years ago
1
javascript

Finale regex

no description available
Submitted by anonymous - 7 years ago
1
javascript

evething captured

no description available
Submitted by anonymous - 7 years ago
0
javascript

Minify css selectors

no description available
Submitted by anonymous - 7 years ago
2
javascript

word before :

no description available
Submitted by anonymous - 7 years ago

Url regex that capture the domain of the URLs

Vote

1

Regular Expression
javascript

/
(?:http|https):\/\/((?:[\w-]+)(?:\.[\w-]+)+)(?:[\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?
/
gm

Description

Loading markdown...
Submitted by D<OS> - 8 years ago