Re: grep help request -- data fields max size



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'?
.



Relevant Pages

  • Re: Hope for Yads?
    ... recommendation, I'll start a thread on it in the next day or so ... Hey, thanks! ... I think that's the first time anyone's ever paid ... Boring stuff for research at the mo - including manuals on kickboxing ...
    (rec.arts.drwho)
  • Re: Hope for Yads?
    ... recommendation, I'll start a thread on it in the next day or ... Hey, thanks! ... I think that's the first time anyone's ever paid ... Usually if I can't care about the person, ...
    (rec.arts.drwho)
  • Re: No No Mr.Trash Man - I wannit back!
    ... I already KNOW where I went wrong -- first time in 12 yrs. ... version of Data Rescue is good for only something like a 5MB salvage, ... Thanks for the recommendation of SuperDuper!, ... > your drives so that in case of a flub they could be restored. ...
    (comp.sys.mac.system)
  • Re: Expression not working
    ... > When I put this expression in the Before Update event of another field in ... except for the first time. ... Prev by Date: ...
    (microsoft.public.access.forms)
  • Re: AVG free Version
    ... the first time you booted the system you agreed that it was tied to that ... What defines that computer is open to interpretation. ... Kerry ... Prev by Date: ...
    (microsoft.public.windowsxp.general)