Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: how to delete part of the line?

by linuxer (Curate)
on May 22, 2009 at 08:20 UTC ( #765630=note: print w/replies, xml ) Need Help??


in reply to Re: how to delete part of the line?
in thread how to delete part of the line?

A regular expression line\d+= won't match with a text "blah1,blah1,blah1=".

You must adjust your regular expression, so it can match your 'blah...' string.

Please see perlretut, perlrequick and perlre for more information about regular expressions.

And you must print to your output handle, if you want the result in value.txt. Currently you are printing to STDOUT; see print

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://765630]
help
Chatterbox?
[erix]: it could be interesting to know whether that 57M customer data breach at ueber was before or after the database switch
[erix]: or perhaps it is unrelated

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (7)
As of 2017-11-22 13:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (324 votes). Check out past polls.

    Notices?