Hi, sorry to post the off topic, but this list is my greatest resource
with my current problem.
I've created a management form for creating files in a CMS that I've
designed and I use a regular expression to prevent files with non-url
and non-cms friendly characters from being used.
I've found that some of my international customers can't use certain
characters that they need, can someone suggest a change to my regular
expression that would allow this?
Here's the regexp I use:
^[\w\s-]*$
Here's what I allow: characters (upper or lower case), numbers, space
(which gets converted to an underscore), hyphens and underscores. I
need to expand it to allow accented characters in languages such as
Polish, German, Spanish and Portuguese.
Here are two words that don't work that should: Español Português
Can anyone suggest a change that would allow an expanded list of
characters?