Regular Expressions 101

Library entries

1
pcre

aabc lazy capture

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

pure url and uri

no description available
Submitted by Thiago Souza - 8 years ago
1
pcre

Cleaning up epub converts

no description available
Submitted by Cory - 8 years ago
1
pcre

HTTP => HTTPS

Force all URLs to HTTPS.
Submitted by WhatIsHeDoing - 8 years ago
1
pcre

Youtube ID

get youtube video ID
Submitted by anonymous - 8 years ago
1
javascript

Floating Point

Tests a floating point number
Submitted by Josh L. Rasmussen - 8 years ago
3
pcre

Currencies

Matches numbers formatted like currencies
Submitted by elgehelge - 8 years ago
0
python

Clojure

no description available
Submitted by anonymous - 8 years ago
1
pcre

BEM for css

no description available
Submitted by giacomozinetti - 8 years ago
-2
javascript

domain name

no description available
Submitted by anonymous - 8 years ago

Find any URL with no trailing slash

Vote

2

Regular Expression
javascript

/
^(https?:\/\/)?(www.)?([\da-zA-z\_\-]+)\.(com|(|[\da-zA-Z]{2,6}))([\/\w \.\-\#\&\?\%\_]*)?([^\/| |\s])$
/
gmi

Description

Loading markdown...
Submitted by oneglory - 8 years ago