Regular Expressions 101

Library entries

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
1
javascript

git://git.apache.org/aurora.git

no description available
Submitted by anonymous - 8 years ago

Email validator PHP

Vote

1

Regular Expression
pcre

/
^[A-Za-z0-9\x{0430}-\x{044F}\x{0410}-\x{042F}\._-]+@([A-Za-z0-9\x{0430}-\x{044F}\x{0410}-\x{042F}]{1,2}|[A-Za-z0-9\x{0430}-\x{044F}\x{0410}-\x{042F}]((?<!(\.\.))[A-Za-z0-9\x{0430}-\x{044F}\x{0410}-\x{042F}.-])+[A-Za-z0-9\x{0430}-\x{044F}\x{0410}-\x{042F}])\.[A-Za-z\x{0430}-\x{044F}\x{0410}-\x{042F}]{2,}$
/
iu

Description

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