Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: Scanning a file for a match, printing different part of the line when found.

by ww (Bishop)
on Mar 26, 2011 at 20:21 UTC ( #895695=note: print w/replies, xml ) Need Help??


in reply to Re: Scanning a file for a match, printing different part of the line when found.
in thread Scanning a file for a match, printing different part of the line when found.

Since OP wasn't specific about how "Name" is constructed, ++

But note that this will not satisfy the op by printing the (whole) name field, if "Name" is comprised of more than one word (for example: Firstname MI Lastname), because of the \b

  • Comment on Re^2: Scanning a file for a match, printing different part of the line when found.
  • Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://895695]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2016-12-02 18:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (48 votes). Check out past polls.