You could also consider the SysMailer.validate() method although its
approach to validation (DNS lookup, etc) might be more than you wanted
to do especially if you want the results really quickly.

      -----Original Message-----
      From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Mayle, Michael
      Sent: 05 May 2005 13:58
      To: [email protected]
      Subject: RE: [development-axapta] Re: Simple email vaidation
     
     
      Hi Andrew,
     
      Thanks, but I actually have a library of regular expressions,
it's just
      that Axapta does not use quite the same syntax. It uses :n
instead of \w
      and many other differences which made my attempt at translation
fall
      flat. I was just seeing if anyone else solved this problem
before.
     
      Thanks for the tip on the Match() function; I did find that in
the
      documentation (believe it or not.)
     
      --Mike
     
      -----Original Message-----
      From: [email protected]
      [mailto:[EMAIL PROTECTED] On Behalf Of ozzage
      Sent: Wednesday, May 04, 2005 6:04 PM
      To: [email protected]
      Subject: [development-axapta] Re: Simple email vaidation
     
      Hi Mike
     
      If you google "regex valid email address" you'll find a lot of
hits for
      sites with exactly what you are after.
     
      Here is one:
     
      http://www.codeproject.com/aspnet/Valid_Email_Addresses.asp
     
      It shows a regular _expression_ used to validate an email address.
     
      The regular _expression_ checker in Axapta is the match()
function, in
      case you hadn't got that far yet.
     
      Cheers
     
      Andrew
     
      --- In [email protected], "Mayle, Michael"
      <[EMAIL PROTECTED]> wrote:
      > Hi all,
      >
      > I am trying to adapt a regular _expression_ to use in Axapta for
email
      > address checking. Does anyone have one? Any help appreciated,
but I
      > can of course write a method to satisfy this. I just thought
there was
     
      > an easy way in Axapta to do it.
      >
      > Thanks in advance.
      > --Mike
      >
      > Michael Mayle
      > Lead Programmer
      > Disc Makers
      > 7905 N Route 130
      > Pennsauken, NJ 08110
      > 1-800-468-9353 x5540
      > [EMAIL PROTECTED]
      >
      >
      >
      > [Non-text portions of this message have been removed]
     
     
     
     
     
     
     
      Yahoo! Groups Links
     
     
     
     
     
     
     
     
     
     
     
  _____ 

      Yahoo! Groups Links
     

      *      To visit your group on the web, go to:
            http://groups.yahoo.com/group/development-axapta/
             
      *      To unsubscribe from this group, send an email to:
            [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]
be>
             
      *      Your use of Yahoo! Groups is subject to the Yahoo! Terms
of Service <http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]





Yahoo! Groups Links

Reply via email to