Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (13)
As of 2015-07-31 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (277 votes), past polls