Re:SRL – Simple Regex Language
by nneonneo on Monday August 29, 2016 @08:56PM
(#12386622)
Nit: you need to escape the last dot since it matches the domain separator. (Perhaps this proves the need for saner regex syntax?)
[ Parent
| on HN ]
Re:SRL – Simple Regex Language
by adambowles on Tuesday August 30, 2016 @04:55AM
(#12388420)
/^[0-9a-z\._%\+\-]+@[0-9a-z\.\-]+\.[a-z][a-z]+$/i