RE: [PHP] Regular Expression
| From: | John W. Holmes | Date: | Tue, 01 Oct 2002 03:26:45 +0000 |
| Subject: | RE: [PHP] Regular Expression | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118306@lists.php.net to get a copy of this message | ||
> What about foreign names...such as the umlaut in
> German? I'm not interested in allowing ALL of the
> characters, just the most common ones...I'd hate to
> restrict a genuine registration because the name
> contains an unaccepted character. Know what I mean?
Well, that wasn't in your original question. :)
I'm not sure how to do that in a regex. You'll probably have to tell it
exactly what ascii characters (or range) that you want to allow. Not
sure on the syntax...search google.
---John Holmes...