[thelist] RegEx problem again

Kowalkowski, Lee (ASPIRE) lee.kowalkowski at hmrcaspire.com
Tue Aug 9 04:22:46 CDT 2005


> -----Original Message-----
> From: Kasimir K [mailto:evolt at kasimir-k.fi]
>
> <snip>Numerous examples why it is difficult to apply validation to
customer names</snip>
>
> A bit tricky situation, isn't it.
> 
> And I too would love to hear RegEx gurus' views on this.

My view is that for customer names, I would allow free text entry.  And
probably only use a Regular Expression to check for at least one
non-whitespace character ( That is /\S/ ).  Customer names are anything but
regular.  Especially if customers include companies or pop groups, etc.

-- LK


===========================================================
Our e-mail domain has now changed from iraspire.com to hmrcaspire.com. Please update your address books.
===========================================================



More information about the thelist mailing list