Re: Generic file name validation code?

harry wrote:
I need to validate a file name but it has to work on Windows & Unix!

Does anybody know of java code that does this?

thanks in advance


This sounds easy to write using the java.util.regex package.
How should a file name look like ?