Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://932125]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (5)
As of 2016-10-22 22:58 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (299 votes). Check out past polls.