Thanks Jay, For your recommendation, is there a way I can limit the size, something like: [\w\.-]{1,50} or should I do that I bring in the data for first time? Have a great weekend! Dave Ft. Worth, Tx [ www.coraconnection.com ]
> It's going to be a whole lot easier, and probably just as fast, to use > split() and join() to break the strings apart and operate on each part > of the name separately. Also, once you've split the names, Perl has a > built-in ucfirst() function--see perldoc -f ucfirst--so you don't even > really need to write your own regex. > > $SendersName = join(' ', map {ucfirst($_)} split / /, $SendersName); > > Names are more complicated tha you think, though. What will you do > with strings like 'old mcdonald', 'old macdonald', and 'c.j. price'? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>