PHPMaster: Regular Expressions

By Jason Pasnikowski

^[A-Za-z0-9-_.+%]+@[A-Za-z0-9-.]+.[A-Za-z]2,4$ It makes all the sense of ancient Egyptian hieroglyphics to you, although those little pictures at least look like they have meaning. But this… this looks like gibberish. What does it mean? It means , , , or nearly any other simple email address because this is a pattern written in a language that describes how to match text in strings

Visit site:
PHPMaster: Regular Expressions

No Reader comments

Because We Like You
Free Ebooks!

Grab SitePoint's top 10 web dev and design ebooks, completely free!

Get the latest in Front-end, once a week, for free.