NYCPHP Meetup

NYPHP.org

[nycphp-talk] validating proper name capitalization

Ajai Khattri ajai at bitblit.net
Fri Sep 23 15:28:18 EDT 2011


That would be "Hindi" but there's no upper or lower case letters in the Hindu alphabet :-)


Sent from my iPad


On Sep 23, 2011, at 11:44 AM, Federico Ulfo <rainelemental at gmail.com> wrote:

> validate this :)
> http://current.com/entertainment/wtf/89484683_teen-breaks-record-with-super-hero-name-change.htm
> 
> I think the best way is to keep it open, so what about this:
> (\w(\s|\'|\-){0,1})*
> 
> Also how do you validate Chinese, Japanese, Hindy, Arab and others languages name?
> 
> -- 
> Federico Ulfo »
> Certified Developer Google & PHP
> 
> 
> 
> On Fri, Sep 23, 2011 at 11:29 AM, Chris Snyder <chsnyder at gmail.com> wrote:
> > A little OT digression about the hyphen. Many of you know that in the
> > Spanish-speaking world people conventionally use two surnames, the paternal
> > and maternal, in that order. Try explaining that to US law enforcement and
> > corrections:  they can't get their minds around it. So everyone has to get
> > hyphenated.
> 
> Or the opposite problem: I've been working with a city-run database
> that doesn't allow hyphens in names. Brilliant!
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> http://www.nyphp.org/Show-Participation
> 
> _______________________________________________
> New York PHP Users Group Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
> 
> http://www.nyphp.org/Show-Participation
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20110923/1fd2fe1d/attachment.html>


More information about the talk mailing list