Re: Invalid Charactors in a string.
| From: | DL Neil | Date: | Wed, 27 Nov 2002 09:09:42 +0000 |
| Subject: | Re: Invalid Charactors in a string. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-126248@lists.php.net to get a copy of this message | ||
Gidday Philip,
Full answer: http://www.oreilly.com/catalog/regex/
Short answer: PHPBuilder etc have articles introducing the use of RegExes
(Regular Expressions) for this sort of thing.
(but please not the Arthurian "how do I validate an email address"...)
Regards,
=dn
> Where should i start, tips wanted.
>
> I would like to check a username string for valid charactors before the
name
> is processed.
>
> Someone point me in the right direction please
>
> ---
> Philip J. Newman.
> Head Developer.
> PhilipNZ.com New Zealand Ltd.
> http://www.philipnz.com/
> info@philipnz.com
>
> Mob: +64 (25) 6144012.
> Tele: +64 (9) 5769491.
>
> VitalKiwi Site:
> Philip J. Newman
> Internet Developer
> http://www.newman.net.nz/
> info@newman.net.nz
>
> *****************************
> Friends are like Stars,
> You can't always see them,
> But you know they are there.
>
> *****************************
>
> ICQ#: 20482482
> MSN ID: philipsdomain@hotmail.com
> Yahoo: philip_newman@yahoo.com
> AIM: newmanpjkiwi
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>