Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Regex for limiting emails

Quote Reply
Regex for limiting emails
Before I totally jack up my links installation:::
Is this the correct regex for limiting the email signup to a specific domain/tld:

[\w\.\-]+\@[\w\.\-]+\.(edu|org){1}(\.(\w{2}))?$
or this:
^(?:(?:.+\@.+\.(edu|org.+)|\s*)$

I wanted to ask before I mess something up!!
Thanks,

</not a clue>

Last edited by:

Dinky: Apr 2, 2004, 5:13 PM
Subject Author Views Date
Post Regex for limiting emails Dinky 714 Apr 2, 2004, 5:10 PM