Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Removing some part of string

by Anonymous Monk
on Oct 18, 2011 at 12:32 UTC ( #932125=note: print w/replies, xml ) Need Help??


in reply to Removing some part of string

Your post does not contain Short, Self Contained, Correct Example

So read perlintro and How do I post a question effectively? and adjust your post accordingly

Replies are listed 'Best First'.
Re^2: Removing some part of string
by pvaldes (Chaplain) on Oct 18, 2011 at 15:09 UTC
     while ($line){$_ =~ s/[ADFJMNOS][[:lower:]]{2}\.\s[0-3]{1,2}-\d{1,2}$//;}

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://932125]
help
Chatterbox?
[Lady_Aleena]: Morning marto.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (4)
As of 2017-04-24 05:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (433 votes). Check out past polls.