Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 How To Check For Valid Email
 New Topic  Reply to Topic
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 August 2008 :  07:05:45  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
I haven't had problems. I got it from a book or online and I remember that it stated that a couple "obscure" cases weren't contemplated. I can't remember what cases were not contemplated, but they were not relevant enough to justify a much more complex regex.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 29 August 2008 :  07:15:20  Show Profile  Reply with Quote
Thanks, Huw; have replaced the RegEx with your one. Looks like this was the source of your one, Rui - some interesting, over-the-top alternatives in that article.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 29 August 2008 :  07:27:10  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
Yes, Shaggy, I guess that was the one.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 29 August 2008 :  07:46:04  Show Profile  Visit HuwR's Homepage  Reply with Quote
actually mine needs a slight adjustment

\w*([!#$%*/?|\^{}`~&'+-=_])*\w*@\w+([-.]\w+)*\.\w+([-.]\w+)*

it was not allowing this address a!#$%&'*+-/=?@example.com which believe it or not is perfectly valid.

there are still a few cases that won't validate, but they would be very unusual.<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20593 Posts

Posted - 29 August 2008 :  07:54:51  Show Profile  Visit HuwR's Homepage  Reply with Quote
sorry, another tweak, this should be much better

[A-Z0-9!#$%*/?|\^{}`~&'+-=_]*@\w+([-.]\w+)*\.\w+([-.]\w+)*<
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 29 August 2008 :  09:16:34  Show Profile  Reply with Quote
Thanks, again, Huw; will add that to the script when I get back on the other machine.

<

Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.09 seconds. Powered By: Snitz Forums 2000 Version 3.4.07