Sindibad_123
asked on
Disallow a path with the file name that contains a non-english characters
Hi, how to disallow a path with the file name that contains a non-english characters using javascript.
Regards.
Regards.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
>Now that you have allowed spaces, you really need to strip leading spaces
Thank you, but why I need to strip spaces?!
Thank you, but why I need to strip spaces?!
his full sentence reads
<<Now that you have allowed spaces, you really need to strip leading spaces and check the field length to prevent just spaces being entered:>>
Did you tried my solution?
<<Now that you have allowed spaces, you really need to strip leading spaces and check the field length to prevent just spaces being entered:>>
Did you tried my solution?
ASKER
>.Did you tried my solution?
No, your links talks about path validation, this is not what I'm talking about.
>Now that you have allowed spaces, you really need to strip leading spaces and check the field length to prevent just spaces being entered
My quest still stands, why I need to remove white spaces from a path and file name?! its allowed in Windows os.
No, your links talks about path validation, this is not what I'm talking about.
>Now that you have allowed spaces, you really need to strip leading spaces and check the field length to prevent just spaces being entered
My quest still stands, why I need to remove white spaces from a path and file name?! its allowed in Windows os.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://www.tek-tips.com/viewthread.cfm?qid=1264340&page=10
https://www.experts-exchange.com/questions/24028655/Javascript-Regex-filename-validation.html
http://www.codingforums.com/showthread.php?t=194468