Regular Expressions 101

Sponsors

Library entries

11
pcre

Codice fiscale

Check "codice fiscale"
Submitted by Luca - 7 years ago
0
javascript

CSV parser

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

aabc lazy capture

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

pure url and uri

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

Cleaning up epub converts

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

HTTP => HTTPS

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

Youtube ID

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

Floating Point

Tests a floating point number
Submitted by Josh L. Rasmussen - 7 years ago

email

Vote

3

Regular Expression
javascript

/
^(("[\w-\s]+")|([\w-]+(?:\.[\w-]+)*)|("[\w-\s]+")([\w-]+(?:\.[\w-]+)*))(@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$)|(@\[?((25[0-5]\.|2[0-4][0-9]\.|1[0-9]{2}\.|[0-9]{1,2}\.))((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\.){2}(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[0-9]{1,2})\]?$)i
/

Description

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