Web Validation - Invalid Characters
807603Dec 11 2007 — edited Dec 12 2007I'm working on web form (member registration) that must work in many languages. I'm struggling trying to come up with the best way to determine what characters to allow in things like Name, Address, etc...
I believe the regular expression: [\p{L}\p{N} ,-'\(\)] will match letters and numbers (in any language - not just ASCII chars) plus space plus a few punctuations.
What are people's thoughts on these criteria? Too restrictive? Too broad? What's the Java standard on this sort of thing, if there is one?