in reply to Reg Exp Need Al Alphabets + Numbers and "." - No underscore and special characters...

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Re: Reg Exp Need Al Alphabets + Numbers and "." - No underscore and special characters...
  • Download Code

Replies are listed 'Best First'.
Re^2: Reg Exp Need Al Alphabets + Numbers and "." - No underscore and special characters...
by ikegami (Patriarch) on Feb 16, 2006 at 15:57 UTC

    That should be *, not +.
    That should be \z, not $ (or else you'll allow a trailing \n).

      \z -- okay, point taken
      * -- I was thinking he didn't want to match an empty string. I could have been wrong. . .
      Thanks a lot...that works... Thanks every one for the help.. Dan.