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 ยป <http://www.federicoulfo.it/>
Certified Developer Google & PHP
  <http://www.federicoulfo.it/>



On Fri, Sep 23, 2011 at 11:29 AM, Chris Snyder <chsny...@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

Reply via email to