|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Review this email regex, please^(([a-z0-9\.\-_]+)([a-z0-9]+)@([a-z0-9\-]+)(\.[a-z0-9\-]+){1,6})$
This email regex has passed all my emails, but is there any inefficiencies or do you guys think it looks good to run? The last bit, allowing the extension pattern to repeat 6 times may be a littler generous but with the subdomains and tlds such as .co.uk, it seems this should be fair. What do you guys think? Like I said, it works, but this is gonna be used on a lot of my sites pages, and I don't want to be inhibiting users from valid activity. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:21:888 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/21 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:21 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.21 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
|
|
Re: Review this email regex, pleaseThis allows ben..doom@..., which is not legal. Somewhere,
aroudn here, we've got a really good email regex. I'll see if I can find my copy in a bit.... Meanwhile, I know it's in the archives. --Ben Tony Hicks wrote: > ^(([a-z0-9\.\-_]+)([a-z0-9]+)@([a-z0-9\-]+)(\.[a-z0-9\-]+){1,6})$ > > This email regex has passed all my emails, but is there any > inefficiencies or do you guys think it looks good to run? > > The last bit, allowing the extension pattern to repeat 6 times may be > a littler generous but with the subdomains and tlds such as .co.uk, it > seems this should be fair. > > What do you guys think? > > Like I said, it works, but this is gonna be used on a lot of my sites > pages, and I don't want to be inhibiting users from valid activity. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:21:889 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/21 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:21 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.21 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
|
|
Re: Review this email regex, pleaseBen,
Thanks for the reply.. Yeah I'd be glad to see what's been come up with before. This appears to work though ^(((([a-z0-9])+([\.\_][a-z0-9]){0,1})+)+@([a-z0-9\-]+)(\.[a-z0-9\-]+){1,5})$ what do you think, if you don't mind? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:21:890 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/21 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:21 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.21 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
|
|
Re: Review this email regex, please^(((([a-z0-9])+([\.\_][a-z0-9]){0,1})+)+@([a-z0-9\-]+)(\.[a-z0-9\-]+){1,6})$
sorry about that ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:21:891 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/21 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:21 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.21 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
|
|
Re: Review this email regex, please^[a-zA-Z]([.]?([[:alnum:]_-]+)*)?@([[:alnum:]\-_]+\.)+[a-zA-Z]{2,4}$
is what I'm seeing as the current version on this list. It needs a little adapting for .museum addresses, if you want to include those (just change the {2,4} to {2,6}). HTH --Ben Tony Hicks wrote: > ^(((([a-z0-9])+([\.\_][a-z0-9]){0,1})+)+@([a-z0-9\-]+)(\.[a-z0-9\-]+){1,6})$ > > sorry about that > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:21:892 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/21 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:21 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.21 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54 |
| Free embeddable forum powered by Nabble | Forum Help |