Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: reading file

by marto (Bishop)
on Nov 29, 2012 at 10:39 UTC ( #1006223=note: print w/replies, xml ) Need Help??

in reply to reading file

Questions like this come up fairly often. In recent memory (actually I had to search for it, my recent memory isn't what it once was) is How best to strip text from a file?, more relevant to you is the sub question and corresponding answer, which seems like it'll do exactly what you need with minor modification.

"Please also give some basic and advance links to tutorials of regular expression."

perlretut along with Pattern Matching, Regular Expressions, and Parsing from the tutorials section.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2018-03-19 13:09 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (240 votes). Check out past polls.