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



Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

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