^(?!\.)(""([^""\\]|\\[""\\])*""|([-a-z0-9!#$%&'*+/=?^_`{|}~]|(?<!\.)\.)*)(?<!\.)@[a-z0-9][\w\.-]*[a-z0-9]\.[a-z][a-z\.]*[a-z]$
Some people, when confronted with a problem, think, “I know, I’ll use regular expressions.” Now they have two problems.
Manish Jawla wrote:
I hat the same problem.The ony solutin I think is to use a Regular Expression
There is one little, little "problem" with this function.
In my option it should return false when this function is called with empty spaces or with nothing, since the "text" element is mandatory.
p.exe: EmailAddressValidate() => TRUE (?)
carl ruhle wrote:
I mean... that's what the original post says too... ;)
J.Ja
I'm also getting the same issue. Whilst that gets fixed, I am using the server action Regex_Search from Common with a regex string of "^((?!\.)[\w-_.]*[^.])(@\w+)(\.\w+(\.\w+)?[^.\W])$".
Hope that helps in the meantime.