Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Removing line from a string

by choroba (Chancellor)
on Jan 09, 2013 at 16:39 UTC ( #1012528=note: print w/replies, xml ) Need Help??


in reply to Removing line from a string

Remove everything up to the first newline:
$records =~ s/^ # beginning of the string .* # whatever except newline \n # newline //x;
Update: Simplified.
لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1012528]
help
Chatterbox?
Not_a_Number adds chocolate chip cookies to the platter on the sideboard.
sn1987a takes a cookie from the platter on the sideboard.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2017-04-26 16:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (484 votes). Check out past polls.