[Javascript] RegEx for validating a file name
Paul Novitski
paul at novitskisoftware.com
Thu May 19 12:34:35 CDT 2005
At 09:49 AM 5/19/2005, Hassan Schroeder wrote:
>..just want to forget it altogether? :-)
>
>Using Linux/MacOS/Windows,
>
> "log4j.properties" is a valid filename
> "Hassan_Schroeder.resume.pdf" is a valid filename
> "Picture of the Dogs.jpeg" is a valid filename
>
>..none of which would pass the proposed regex.
Quite right -- one of my brain's feet must have been standing momentarily
in MS-DOSville.
P.
More information about the Javascript
mailing list