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: 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)
  • Re: Stockist of pedal go-carts in Scotland
    ... I'd second that recommendation. ... He can do 25km/hour for short bursts, and pulls mega handbrake skids ... Especially the first time, when he ...
    (uk.rec.cycling)
  • Re: Question about Lebesque Integral
    ... You got several replies the first time you posted this question. ... David C. Ullrich ... Prev by Date: ...
    (sci.math)